Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f5944ac064
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (20 sloc) 0.979 kb
//
// PSTCollectionViewItemKey.h
// PSPDFKit
//
// Copyright (c) 2012 Peter Steinberger. All rights reserved.
//
#import "PSTCollectionViewCommon.h"
#import "PSTCollectionViewLayout.h"
@class PSTCollectionViewLayoutAttributes;
NSString *PSTCollectionViewItemTypeToString(PSTCollectionViewItemType type); // debug helper
// Used in NSDictionaries
@interface PSTCollectionViewItemKey : NSObject <NSCopying>
+ (id)collectionItemKeyForLayoutAttributes:(PSTCollectionViewLayoutAttributes *)layoutAttributes;
+ (id)collectionItemKeyForDecorationViewOfKind:(NSString *)elementKind andIndexPath:(NSIndexPath *)indexPath;
+ (id)collectionItemKeyForSupplementaryViewOfKind:(NSString *)elementKind andIndexPath:(NSIndexPath *)indexPath;
+ (id)collectionItemKeyForCellWithIndexPath:(NSIndexPath *)indexPath;
@property (nonatomic, assign) PSTCollectionViewItemType type;
@property (nonatomic, strong) NSIndexPath *indexPath;
@property (nonatomic, strong) NSString *identifier;
@end
Jump to Line
Something went wrong with that request. Please try again.