CGXVerticalMenuCustomCollectionView.h 962 B

12345678910111213141516171819202122232425
  1. //
  2. // CGXVerticalMenuCustomCollectionView.h
  3. // CGXVerticalMenuView-OC
  4. //
  5. // Created by CGX on 2018/05/01.
  6. // Copyright © 2019 CGX. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @class CGXVerticalMenuCustomCollectionView;
  11. @protocol CGXPageHomeCollectionViewGestureDelegate <NSObject>
  12. - (BOOL)gx_pageHomeCollectionView:(CGXVerticalMenuCustomCollectionView *)collectionView gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer;
  13. - (BOOL)gx_pageHomeCollectionView:(CGXVerticalMenuCustomCollectionView *)collectionView gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer;
  14. @end
  15. @interface CGXVerticalMenuCustomCollectionView : UICollectionView
  16. @property (nonatomic, assign) BOOL isNestEnabled;
  17. @property (nonatomic, weak) id<CGXPageHomeCollectionViewGestureDelegate> gestureDelegate;
  18. @end
  19. NS_ASSUME_NONNULL_END