GridMenuView

public class GridMenuView : UIView
extension GridMenuView: UICollectionViewDataSource
extension GridMenuView: UICollectionViewDelegate

Undocumented

  • 分页控件当前颜色

    Declaration

    Swift

    public var pageControlCurrentColor: UIColor { get set }
  • 分页控件正常颜色

    Declaration

    Swift

    public var pageControlNormorlColor: UIColor { get set }
  • 横向滚动滑动宽度

    Declaration

    Swift

    public var currentIndicatorWidth: CGFloat { get set }
  • 刷新

    Declaration

    Swift

    public func reloadData()
  • 更新角标 适用于红点以及数字样式

    Declaration

    Swift

    public func updateMark(code: String, number: Int)
    Parameters
    code

    模块编码

    number

    数字

  • 更新角标 适用于红点样式

    Declaration

    Swift

    public func updateMark(code: String, isShow: Bool)
    Parameters
    code

    模块编码

    number

    数字

  • 更新角标 适用于文本样式

    Declaration

    Swift

    public func updateMark(code: String, text: String)
    Parameters
    code

    模块编码

    text

    文本内容

  • Undocumented

    Declaration

    Swift

    public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
  • Undocumented

    Declaration

    Swift

    public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
  • Undocumented

    Declaration

    Swift

    public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
  • Undocumented

    Declaration

    Swift

    public func scrollViewDidEndDecelerating(_ scrollView: UIScrollView)
  • Undocumented

    Declaration

    Swift

    public func scrollViewDidScroll(_ scrollView: UIScrollView)