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 FlaneurCollectionContainerViewDelegate protocol. 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 true for 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

    frame

    The 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

    coder

    An unarchiver object.

  • Cf. IGListKit documentation

    Declaration

    Swift

    public func objects(for listAdapter: ListAdapter) -> [ListDiffable]

    Parameters

    listAdapter

    listAdapter

    Return Value

    items

  • Cf. IGListKit documentation

    Declaration

    Swift

    public func listAdapter(_ listAdapter: ListAdapter, sectionControllerFor object: Any) -> ListSectionController

    Parameters

    listAdapter

    listAdapter

    object

    object

    Return Value

    a FilterableSectionController instance for the object

  • Cf. IGListKit documentation

    Declaration

    Swift

    public func emptyView(for listAdapter: ListAdapter) -> UIView?

    Parameters

    listAdapter

    listAdapter

    Return Value

    a white large animated spinner