TXCarouselViewLayout.h 486 B

12345678910111213141516171819202122
  1. //
  2. // TXCarouselViewLayout.h
  3. // textView
  4. //
  5. // Created by 新华龙mac on 2018/1/17.
  6. // Copyright © 2018年 新华龙mac. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface TXCarouselViewLayout : UICollectionViewLayout
  10. @property (nonatomic,assign) CGSize itemSize;
  11. @property (nonatomic,assign) NSInteger visibleCount;
  12. @property (nonatomic) UICollectionViewScrollDirection scrollDirection;
  13. @property (nonatomic,copy)void(^TargetScrollEnd)(NSInteger i);//预留
  14. @end