Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 36 lines (28 sloc) 1.17 kb
64659c0 Pieter Abstracts layout info from BCCollectionView into a separate BCCollection...
pieteromvlee authored
1 // Created by Pieter Omvlee on 15/02/2011.
2 // Copyright 2011 Bohemian Coding. All rights reserved.
3
4 #import <Foundation/Foundation.h>
5b9c8e9 Pieter Better use of threading to load huge collectionviews smoothyl during liv...
pieteromvlee authored
5 #import "BCCollectionViewLayoutOperation.h"
64659c0 Pieter Abstracts layout info from BCCollectionView into a separate BCCollection...
pieteromvlee authored
6
7 @class BCCollectionView;
8 @interface BCCollectionViewLayoutManager : NSObject
9 {
10 BCCollectionView *collectionView;
5247718 Pieter CollectionView supports grouping
pieteromvlee authored
11 NSOperationQueue *queue;
ffe81d5 Pieter Fixes keyboard moving in collection view with groups
pieteromvlee authored
12
5b9c8e9 Pieter Better use of threading to load huge collectionviews smoothyl during liv...
pieteromvlee authored
13 NSArray *itemLayouts;
64659c0 Pieter Abstracts layout info from BCCollectionView into a separate BCCollection...
pieteromvlee authored
14 }
5b9c8e9 Pieter Better use of threading to load huge collectionviews smoothyl during liv...
pieteromvlee authored
15 @property (retain) NSArray *itemLayouts;
64659c0 Pieter Abstracts layout info from BCCollectionView into a separate BCCollection...
pieteromvlee authored
16 - (id)initWithCollectionView:(BCCollectionView *)collectionView; //assigned
a63ca03 Pieter Search field can get focus, fullscreen works again, white line removed i...
pieteromvlee authored
17 - (void)cancelItemEnumerator;
5b9c8e9 Pieter Better use of threading to load huge collectionviews smoothyl during liv...
pieteromvlee authored
18 - (void)enumerateItems:(BCCollectionViewLayoutOperationIterator)itemIterator completionBlock:(dispatch_block_t)completionBlock;
64659c0 Pieter Abstracts layout info from BCCollectionView into a separate BCCollection...
pieteromvlee authored
19
5247718 Pieter CollectionView supports grouping
pieteromvlee authored
20 #pragma mark Primitives
ffe81d5 Pieter Fixes keyboard moving in collection view with groups
pieteromvlee authored
21 - (NSUInteger)maximumNumberOfItemsPerRow;
64659c0 Pieter Abstracts layout info from BCCollectionView into a separate BCCollection...
pieteromvlee authored
22 - (NSSize)cellSize;
23
ffe81d5 Pieter Fixes keyboard moving in collection view with groups
pieteromvlee authored
24 #pragma mark Rows and Columns
25 - (NSUInteger)indexOfItemAtRow:(NSUInteger)rowIndex column:(NSUInteger)colIndex;
26 - (NSPoint)rowAndColumnPositionOfItemAtIndex:(NSUInteger)anIndex;
27
5247718 Pieter CollectionView supports grouping
pieteromvlee authored
28 #pragma mark From Point to Index
64659c0 Pieter Abstracts layout info from BCCollectionView into a separate BCCollection...
pieteromvlee authored
29 - (NSUInteger)indexOfItemAtPoint:(NSPoint)p;
30 - (NSUInteger)indexOfItemContentRectAtPoint:(NSPoint)p;
5247718 Pieter CollectionView supports grouping
pieteromvlee authored
31
32 #pragma mark From Index to Rect
33 - (NSRect)rectOfItemAtIndex:(NSUInteger)anIndex;
34 - (NSRect)contentRectOfItemAtIndex:(NSUInteger)anIndex;
64659c0 Pieter Abstracts layout info from BCCollectionView into a separate BCCollection...
pieteromvlee authored
35 @end
Something went wrong with that request. Please try again.