Move _customClasses to GSXibKeyedUnarchiver and implement logic to build the _customClasses array for use in Gorm when loading the xib file.

This commit is contained in:
Gregory John Casamento 2022-03-26 11:19:59 -04:00
parent def2c9765d
commit 790b686f0d
4 changed files with 88 additions and 19 deletions

View file

@ -41,6 +41,7 @@
NSMutableArray *stack;
GSXibElement *currentElement;
NSMutableDictionary *decoded;
NSMutableArray *_customClasses;
}
+ (BOOL) checkXib5: (NSData *)data;
@ -53,6 +54,7 @@
- (id) _decodeArrayOfObjectsForElement: (GSXibElement*)element;
- (id) _decodeDictionaryOfObjectsForElement: (GSXibElement*)element;
- (id) objectForXib: (GSXibElement*)element;
- (NSArray *) customClasses;
- (NSDictionary *) decoded;
@end