Last active
June 22, 2016 17:35
-
-
Save FlorianBasso/4f64eb6e535ed82938690229604d15c5 to your computer and use it in GitHub Desktop.
Example of registerCells method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func registerCells() { | |
guard let vm = self.viewModel else { | |
return | |
} | |
for item in vm.items { | |
item.register(self.collectionView) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment