Register NIB for UICollectionViewCell

UINib *nib = [UINib nibWithNibName:<#(NSString *)#> bundle:<#(NSBundle *)#>]; [collectionView registerNib:<#(UINib *)#> forCellWithReuseIdentifier:<#(NSString *)#>];
Registers a NIB file to use it as a collectionviewcell

1 Response

If you need to register a NIB for a UICollectionViewCell please refer to http://codepad.co/s/f6a2e5

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.