FWScrollViewController

@protocol FWScrollViewController <FWViewController>

滚动视图控制器协议,可覆写

  • 滚动视图,默认不显示滚动条

    Declaration

    Objective-C

    @optional
    @property (nonatomic, readonly) NS_SWIFT_UNAVAILABLE("")
        UIScrollView *scrollView;
  • 内容容器视图,自动撑开,子视图需要添加到此视图上

    Declaration

    Objective-C

    @optional
    @property (nonatomic, readonly) NS_SWIFT_UNAVAILABLE("") UIView *contentView;
  • 渲染滚动视图,renderView之前调用,默认未实现

    Declaration

    Objective-C

    - (void)renderScrollView;
  • 渲染滚动视图布局,renderView之前调用,默认铺满

    Declaration

    Objective-C

    - (void)renderScrollLayout;