FWCollectionViewFlowLayoutWrapper

@interface FWCollectionViewFlowLayoutWrapper : FWObjectWrapper

Undocumented

  • Undocumented

    Declaration

    Objective-C

    FWWrapperCompatible, fw)

FWCollectionViewSectionConfig

  • 初始化布局section配置,在prepareLayout调用即可

    Declaration

    Objective-C

    - (void)sectionConfigPrepareLayout;
  • 获取布局section属性,在layoutAttributesForElementsInRect:调用并添加即可

    Declaration

    Objective-C

    - (nonnull NSArray<UICollectionViewLayoutAttributes *> *)
        sectionConfigLayoutAttributesForElementsInRect:(CGRect)rect;

FWApplication

  • 设置Header和Footer是否悬停,支持iOS9+

    Declaration

    Objective-C

    - (void)hoverWithHeader:(BOOL)header footer:(BOOL)footer;