NSCollectionViewDataSource_Extensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods to the INSCollectionViewDataSource interface to support all the methods from the NSCollectionViewDataSource protocol.
public static class NSCollectionViewDataSource_Extensions
type NSCollectionViewDataSource_Extensions = class
- Inheritance
-
NSCollectionViewDataSource_Extensions
Remarks
The extension methods for INSCollectionViewDataSource interface allow developers to treat instances of the interface as having all the optional methods of the original NSCollectionViewDataSource protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.
Methods
| Name | Description |
|---|---|
| GetNumberOfSections(INSCollectionViewDataSource, NSCollectionView) | |
| GetView(INSCollectionViewDataSource, NSCollectionView, NSString, NSIndexPath) | |