forked from youknowone/VisualJSON
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVJDocumentHistory.h
More file actions
40 lines (28 loc) · 816 Bytes
/
VJDocumentHistory.h
File metadata and controls
40 lines (28 loc) · 816 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
30
31
32
33
34
35
36
37
38
39
40
//
// VJDocumentHistory.h
// VisualJSON
//
// Created by Jeong YunWon on 12. 11. 15..
// Copyright (c) 2012 youknowone.org. All rights reserved.
//
#import <Foundation/Foundation.h>
@class VJDocumentHistoryItem;
@interface VJDocumentHistory : NSObject {
NSMutableArray *_history;
}
- (BOOL)synchronize;
- (NSUInteger)count;
- (VJDocumentHistoryItem *)itemAtIndex:(NSInteger)index;
- (void)addHistory:(NSString *)value;
+ (VJDocumentHistory *)defaultHistory;
@end
@interface VJDocumentHistoryItem: NSObject {
NSString *_address;
NSMutableArray *_dates;
}
@property(retain) NSString *address;
@property(retain) NSMutableArray *dates;
- (id)initWithDataDictionary:(NSDictionary *)dictionary;
+ (id)historyWithDataDictionary:(NSDictionary *)dictionary;
- (NSDictionary *)dataDictionary;
@end