- nib
- The UIKit.UINib to be used to populate cells.
- reuseIdentifier
- A non-empty string to be associated with the nib.
The UIKit.UICollectionView maintains a highly-efficient reuse queue for offscreen components. This requires that the UIKit.UICollectionView be responsible for the lifecycle management of its component views. This method (and related methods such as UICollectionView.RegisterClassForSupplementaryView) provide the UIKit.UICollectionView the knowledge of which types it needs to instantiate.
The application developer may pass null as the reuseIdentifier, in which case the nib will be "un-registered" and no longer instantiated. The application developer may pass in a reuseIdentifier previously associated with another nib, in which case the old nib will be "de-registered" and the new nib will be used.