- viewClass
- An IntPtr to the type to be used for supplementary views.
- kind
- The type of supplementary view being registered (e.g., "UICollectionElementKindSectionHeader").
- reuseIdentifier
- A non-empty string to be associated with the kind.
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.RegisterClassForCell) 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 viewClass will be "un-registered" and no longer instantiated. The application developer may pass in a reuseIdentifier previously associated with another type, in which case the old type will be "de-registered" and the new viewClass will be used.
It is very important that you provide constructor that takes an IntPtr argument in any subclasses that you register. This is required because the classes are actually allocated by the Objective-C runtime, and you must initialize them.