Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cell.nameLabel?.text = contact.objectAtIndex(0) as String
- self.contactsCollection.tag = 112
- self.contactsCollection.registerClass(CollectionCell.self, forCellWithReuseIdentifier: "collectionCell")
- self.flowLayout.scrollDirection = UICollectionViewScrollDirection.Horizontal
- self.flowLayout.minimumInteritemSpacing = 2.0
- self.flowLayout.minimumLineSpacing = 2.0
- self.contactsCollection.pagingEnabled = true
- self.contactsCollection.showsHorizontalScrollIndicator = false
- self.contactsCollection.collectionViewLayout = self.flowLayout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement