VLCFolderCollectionViewFlowLayout.h 1.1 KB

12345678910111213141516171819202122232425
  1. /*****************************************************************************
  2. * VLCFolderCollectionViewFlowLayout.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2014 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Carola Nitz <nitz.carola # googlemail.com>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. @interface VLCFolderCollectionViewFlowLayout : UICollectionViewFlowLayout <UIGestureRecognizerDelegate>
  13. @property (assign, nonatomic) CGFloat scrollingSpeed;
  14. @property (assign, nonatomic) UIEdgeInsets scrollingTriggerEdgeInsets;
  15. @property (nonatomic, readonly) UILongPressGestureRecognizer *longPressGestureRecognizer;
  16. @property (nonatomic, readonly) UIPanGestureRecognizer *panGestureRecognizer;
  17. @end
  18. @protocol VLCFolderCollectionViewDelegateFlowLayout <UICollectionViewDelegateFlowLayout>
  19. - (void)collectionView:(UICollectionView *)collectionView requestToMoveItemAtIndexPath:(NSIndexPath *)currentPath intoFolderAtIndexPath:(NSIndexPath *)newIndexPath;
  20. @end