| 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 |
#import <Foundation/Foundation.h> |
| 26 |
|
| 27 |
@class XCAbstractDelegate; |
| 28 |
|
| 29 |
@interface PBXCoder : NSObject |
| 30 |
{ |
| 31 |
|
| 32 |
NSString *_fileName; |
| 33 |
NSString *_projectRoot; |
| 34 |
NSMutableDictionary *_dictionary; |
| 35 |
NSMutableDictionary *_objects; |
| 36 |
NSMutableDictionary *_objectCache; |
| 37 |
NSMutableDictionary *_parents; |
| 38 |
|
| 39 |
XCAbstractDelegate *_delegate; |
| 40 |
|
| 41 |
|
| 42 |
id _rootObject; |
| 43 |
} |
| 44 |
|
| 45 |
|
| 46 |
+ (instancetype) unarchiveWithProjectFile: (NSString *)name; |
| 47 |
|
| 48 |
- (instancetype) initWithProjectFile: (NSString *)name; |
| 49 |
|
| 50 |
- (instancetype) initWithContentsOfFile: (NSString *)name; |
| 51 |
|
| 52 |
- (id) unarchive; |
| 53 |
|
| 54 |
- (id) unarchiveObjectForKey: (NSString *)key; |
| 55 |
|
| 56 |
- (id) unarchiveFromDictionary: (NSDictionary *)dictionary; |
| 57 |
|
| 58 |
- (NSMutableArray *) resolveArrayMembers: (NSMutableArray *)array; |
| 59 |
|
| 60 |
- (id) applyKeysAndValuesFromDictionary: (NSDictionary *)dictionary |
| 61 |
toObject: (id)object; |
| 62 |
- (NSString *) projectRoot; |
| 63 |
|
| 64 |
|
| 65 |
- (XCAbstractDelegate *) delegate; |
| 66 |
|
| 67 |
- (void) setDelegate: (XCAbstractDelegate *)delegate; |
| 68 |
|
| 69 |
|
| 70 |
+ (instancetype) archiveWithRootObject: (id)obj; |
| 71 |
|
| 72 |
- (instancetype) initWithRootObject: (id)obj; |
| 73 |
|
| 74 |
- (id) archive; |
| 75 |
|
| 76 |
@end |