Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 43 lines (34 sloc) 1.38 KB
//
// KKGridViewUpdate.h
// KKGridView
//
// Created by Kolin Krewinkel on 7.29.11.
// Copyright 2011 Giulio Petek, Jonathan Sterling, and Kolin Krewinkel. All rights reserved.
//
#import <KKGridView/KKIndexPath.h>
#import <KKGridView/KKGridView.h>
typedef enum {
KKGridViewUpdateTypeItemInsert,
KKGridViewUpdateTypeItemDelete,
KKGridViewUpdateTypeItemReload,
KKGridViewUpdateTypeItemMove,
KKGridViewUpdateTypeSectionInsert,
KKGridViewUpdateTypeSectionDelete,
KKGridViewUpdateTypeSectionReload
} KKGridViewUpdateType;
typedef enum {
KKGridViewUpdateSignNegative = -1,
KKGridViewUpdateSignPositive = 1
} KKGridViewUpdateSign;
@interface KKGridViewUpdate : NSObject
@property (nonatomic) KKGridViewAnimation animation;
@property (nonatomic, copy) KKIndexPath * indexPath;
@property (nonatomic) BOOL sectionUpdate;
@property (nonatomic) KKGridViewUpdateType type;
@property (nonatomic) BOOL animating;
@property (nonatomic) CFTimeInterval timestamp;
@property (nonatomic, copy) KKIndexPath *destinationPath;
- (KKGridViewUpdateSign)sign;
- (id)initWithIndexPath:(KKIndexPath *)indexPath isSectionUpdate:(BOOL)sectionUpdate type:(KKGridViewUpdateType)type animation:(KKGridViewAnimation)animation;
+ (id)updateWithIndexPath:(KKIndexPath *)indexPath isSectionUpdate:(BOOL)sectionUpdate type:(KKGridViewUpdateType)type animation:(KKGridViewAnimation)animation;
@end
Something went wrong with that request. Please try again.