FlaneurCollectionView
final public class FlaneurCollectionView: UIView
TODO
-
Undocumented
Declaration
Swift
public var nbColumns: Int = defaultNbColumns -
Undocumented
Declaration
Swift
public var cellSizeRatio: CGFloat = defaultCellSizeRatio -
The object that acts as the delegate of the collection view.
The delegate must adopt the
FlaneurCollectionContainerViewDelegateprotocol. The delegate is not retained.Declaration
Swift
public weak var delegate: FlaneurCollectionViewDelegate? = nil -
The filters of the collection view.
An item will be displayed by the collection view if at least one of the filters returns
truefor it. When at least one filter is set up, the filtersCollectionView is displayed.Declaration
Swift
public var filters: [FlaneurCollectionFilter] = [] -
The items to display in the collection view
Declaration
Swift
public var items: [FlaneurCollectionItem] = [] -
Undocumented
Declaration
Swift
public let itemsCollectionView: UICollectionView = -
Initializes and returns a newly allocated collection container object with the specified frame rectangle.
Declaration
Swift
public override init(frame: CGRect)Parameters
frameThe frame rectangle for the view, measured in points.
-
Returns an object initialized from data in a given unarchiver.
Declaration
Swift
public required init?(coder: NSCoder)Parameters
coderAn unarchiver object.
-
TODO
Declaration
Swift
public func configure(viewController: UIViewController, items: [FlaneurCollectionItem], nbColumns: Int = defaultNbColumns, cellSizeRatio: CGFloat = defaultCellSizeRatio)Parameters
viewControllerTODO
itemsTODO
-
Cf.
IGListKitdocumentationDeclaration
Swift
public func objects(for listAdapter: ListAdapter) -> [ListDiffable]Parameters
listAdapterlistAdapter
Return Value
items
-
Cf.
IGListKitdocumentationDeclaration
Swift
public func listAdapter(_ listAdapter: ListAdapter, sectionControllerFor object: Any) -> ListSectionControllerParameters
listAdapterlistAdapter
objectobject
Return Value
a
FilterableSectionControllerinstance for the object -
Cf.
IGListKitdocumentationDeclaration
Swift
public func emptyView(for listAdapter: ListAdapter) -> UIView?Parameters
listAdapterlistAdapter
Return Value
a white large animated spinner
View on GitHub
FlaneurCollectionView Class Reference