口袋优选

MLMSegmentManager.h 699B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // MLMSegmentManager.h
  3. // MLMSegmentPage
  4. //
  5. // Created by my on 2017/2/5.
  6. // Copyright © 2017年 my. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "MLMSegmentHead.h"
  10. #import "MLMSegmentScroll.h"
  11. #import "SegmentPageHead.h"
  12. @interface MLMSegmentManager : NSObject
  13. /**
  14. * 绑定两个view
  15. */
  16. + (void)associateHead:(MLMSegmentHead *)head
  17. withScroll:(MLMSegmentScroll *)scroll
  18. completion:(void(^)())completion;
  19. + (void)associateHead:(MLMSegmentHead *)head
  20. withScroll:(MLMSegmentScroll *)scroll
  21. contentChangeAni:(BOOL)ani
  22. completion:(void(^)())completion
  23. selectEnd:(void(^)(NSInteger index))selectEnd;
  24. @end