AnyCollectionDataProvider
public final class AnyCollectionDataProvider<ContentElement> : AnyDataProvider<ContentElement>, CollectionDataProvider
Type eraser for CollectionDataProvider. This can be helpful to build conecpts like filtering, sorting ontop of collection data provider.
See also
CollectionDataProvider
-
Undocumented
Declaration
Swift
public typealias Element = ContentElement -
The content which is provided by the data provider
Declaration
Swift
public var content: AnyCollection<AnyCollection<Element>> { get } -
Type ereases a give
CollectionDataProvider.Declaration
Swift
public init<C>(dataProvider: C) where ContentElement == C.Element, C : CollectionDataProviderParameters
dataProviderthe data provider to type erase.
View on GitHub
AnyCollectionDataProvider Class Reference