Skip to content

Instantly share code, notes, and snippets.

@andatta
Created September 1, 2016 18:07
Show Gist options
  • Save andatta/19cc95fab6b9529cd1edb49cc91bcda0 to your computer and use it in GitHub Desktop.
Save andatta/19cc95fab6b9529cd1edb49cc91bcda0 to your computer and use it in GitHub Desktop.
let items = [String]()
items.append("Swift")
self.collectionView.insertItemsAtIndexPaths([NSIndexPath(forRow: self.items.count - 1, inSection: 0)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment