forked from lovesunstar/STBasic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTSortOperation.h
More file actions
29 lines (24 loc) · 846 Bytes
/
STSortOperation.h
File metadata and controls
29 lines (24 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
// STSortOperation.h
// STBasic
//
// Created by SunJiangting on 13-11-2.
// Copyright (c) 2013年 SunJiangting. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef enum STSortOperationType {
STSortOperationTypeMoveBaseline1 = 1,
STSortOperationTypeMoveBaseline2 = 2,
STSortOperationTypeMoveElement = 3,
STSortOperationTypeCacheUpElement = 4,
STSortOperationTypeCacheDownElement = 5,
STSortOperationTypeExchangeElement = 6,
} STSortOperationType;
@class STSortView;
@interface STSortOperation : NSOperation
@property (nonatomic, assign) NSTimeInterval duration;
@property (nonatomic, assign) NSInteger index1;
@property (nonatomic, assign) NSInteger index2;
@property (nonatomic, weak) STSortView * sortView;
@property (nonatomic, assign) STSortOperationType operationType;
@end