ZLCellFakeView.h 734 B

1234567891011121314151617181920212223242526
  1. //
  2. // ZLCellFakeView.h
  3. // ZLCollectionView
  4. //
  5. // Created by zhaoliang chen on 2018/7/25.
  6. // Copyright © 2018年 zhaoliang chen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface ZLCellFakeView : UIView
  10. @property (nonatomic, weak)UICollectionViewCell *cell;
  11. @property (nonatomic, strong)UIImageView *cellFakeImageView;
  12. @property (nonatomic, strong)UIImageView *cellFakeHightedView;
  13. @property (nonatomic, strong)NSIndexPath *indexPath;
  14. @property (nonatomic, assign)CGPoint originalCenter;
  15. @property (nonatomic, assign)CGRect cellFrame;
  16. - (instancetype)initWithCell:(UICollectionViewCell *)cell;
  17. - (void)changeBoundsIfNeeded:(CGRect)bounds;
  18. - (void)pushFowardView;
  19. - (void)pushBackView:(void(^)(void))completion;
  20. @end