UICollectionViewDataSource_Extensions Class

Definition

Extension methods to the IUICollectionViewDataSource interface to support all the methods from the UICollectionViewDataSource protocol.

public static class UICollectionViewDataSource_Extensions
type UICollectionViewDataSource_Extensions = class
Inheritance
UICollectionViewDataSource_Extensions

Remarks

The extension methods for IUICollectionViewDataSource allow developers to treat instances of the interface as having all the optional methods of the original UICollectionViewDataSource protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

CanMoveItem(IUICollectionViewDataSource, UICollectionView, NSIndexPath)
GetIndexPath(IUICollectionViewDataSource, UICollectionView, String, nint)

Requests the index path for the item in the collection view at the specified index with the specified title.

GetIndexTitles(IUICollectionViewDataSource, UICollectionView)

Requests the index titles for the items in the specified collection view.

GetViewForSupplementaryElement(IUICollectionViewDataSource, UICollectionView, NSString, NSIndexPath)

The reusable view used for the supplementary element at the specified indexPath.

MoveItem(IUICollectionViewDataSource, UICollectionView, NSIndexPath, NSIndexPath)
NumberOfSections(IUICollectionViewDataSource, UICollectionView)

The number of sections in this UICollectionViewDataSource.

Applies to