Code cleanup

This commit is contained in:
Gregory John Casamento 2024-04-17 13:54:47 -04:00
parent 6ca3708722
commit 8895bd0335

View file

@ -171,7 +171,6 @@ static NSString *ApplicationClass = nil;
@implementation GSXib5KeyedUnarchiver
// Singleton dictionary that holds any cached XIB data... cells, etc.
static NSMutableDictionary *CachedXibDictionary = nil;
static NSDictionary *XmlTagToObjectClassMap = nil;
static NSArray *XmlTagsNotStacked = nil;
static NSArray *XmlTagsToSkip = nil;
@ -209,7 +208,7 @@ static NSArray *XmlBoolDefaultYes = nil;
@"NSMutableArray", @"resources",
@"NSMutableArray", @"segments",
@"NSMutableArray", @"objectValues",
// @"NSMutableArray", @"prototypeCellViews",
@"NSMutableArray", @"prototypeCellViews",
@"NSMutableArray", @"allowedToolbarItems",
@"NSMutableArray", @"defaultToolbarItems",
@"NSMutableArray", @"rowTemplates",
@ -454,7 +453,6 @@ static NSArray *XmlBoolDefaultYes = nil;
@"decodeTransitionStyle:", @"NSTransitionStyle",
@"decodeShadowOffsetHoriz:", @"NSShadowHoriz",
@"decodeShadowOffsetVert:", @"NSShadowVert",
@"decodePrototypeCellViews:", @"NSPrototypeCellViews",
nil];
RETAIN(XmlKeyToDecoderSelectorMap);
@ -3007,12 +3005,6 @@ didStartElement: (NSString*)elementName
return [NSNumber numberWithFloat: size.height];
}
- (id) decodePrototypeCellViews: (GSXibElement *)element
{
NSLog(@"element = %@", currentElement);
return [NSArray array];
}
- (id) _decodePlacementForObject: (id)obj
{
NSGridRowAlignment alignment = NSGridCellPlacementNone;