Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @IBAction func button(sender: UIButton) {
- collectionView.scrollToItemAtIndexPath(NSIndexPath(forItem: 29, inSection: 0), atScrollPosition: .CenteredVertically, animated: false)
- print(collectionView.visibleCells())
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement