JNWCollectionView icon indicating copy to clipboard operation
JNWCollectionView copied to clipboard

More interaction with supplementary views.

Open kmisiura opened this issue 10 years ago • 2 comments

Added delegate messages about supplementary views being added and removed from document view:
- (void)collectionView:(JNWCollectionView *)collectionView
willDisplaySupplementaryView:(JNWCollectionViewReusableView *)supplementaryView
                ofKind:(NSString *)kind
            forsection:(NSInteger)section;

- (void)collectionView:(JNWCollectionView *)collectionView
didEndDisplayingSupplementaryView:(JNWCollectionViewReusableView *)supplementaryView
                ofKind:(NSString *)kind
            forsection:(NSInteger)section;
Implemented methods to get visible supplementary views:
- (NSArray *)visibleSupplementaryViews;

- (NSArray *)visibleSupplementaryViewsForKind:(NSString *)kind;

kmisiura avatar Dec 15 '14 08:12 kmisiura

Thank you for putting this together, your contribution is much appreciated. :sparkles:

Just a few pedantic comments. Also, it looks like this might need a merge from head to pull cleanly. Thanks!

jwilling avatar Dec 15 '14 22:12 jwilling

Sorry for taking this long. Cleaned up code and merged from head.

kmisiura avatar Dec 22 '14 13:12 kmisiura