//  Created by Pieter Omvlee on 02/03/2011.
//  Copyright 2011 Bohemian Coding. All rights reserved.

#import <Foundation/Foundation.h>

@class BCCollectionView, BCCollectionViewLayoutItem;

#ifndef BCCollectionViewLayoutOperationIterator
typedef void (^BCCollectionViewLayoutOperationIterator)(BCCollectionViewLayoutItem *layoutItem);
#endif

@interface BCCollectionViewLayoutOperation : NSOperation
{
	BCCollectionViewLayoutOperationIterator layoutCallBack;
	dispatch_block_t layoutCompletionBlock;
	BCCollectionView *__unsafe_unretained collectionView;
}
@property (copy) BCCollectionViewLayoutOperationIterator layoutCallBack;
@property (copy) dispatch_block_t layoutCompletionBlock;
@property (unsafe_unretained) BCCollectionView *collectionView;

@end
