Remove uneeded documentMap

This commit is contained in:
Gregory John Casamento 2020-07-12 17:48:45 -04:00
parent 4430a6276d
commit ae0ddc2716

View file

@ -309,7 +309,6 @@
_scenesMap = [[NSMutableDictionary alloc] initWithCapacity: 10];
_controllerMap = [[NSMutableDictionary alloc] initWithCapacity: 10];
_documentsMap = [[NSMutableDictionary alloc] initWithCapacity: 10];
_identifierToSegueMap = [[NSMutableDictionary alloc] initWithCapacity: 10];
[self processStoryboard: xml];
@ -324,7 +323,6 @@
RELEASE(_applicationSceneId);
RELEASE(_scenesMap);
RELEASE(_controllerMap);
RELEASE(_documentsMap);
RELEASE(_identifierToSegueMap);
[super dealloc];
}
@ -349,11 +347,6 @@
return _controllerMap;
}
- (NSDictionary *) documentsMap
{
return _documentsMap;
}
- (NSMapTable *) segueMapForIdentifier: (NSString *)identifier
{
return [_identifierToSegueMap objectForKey: identifier];
@ -856,9 +849,6 @@
controllerId: src];
[_identifierToSegueMap setObject: mapTable
forKey: identifier];
// Add to cache...
[_documentsMap setObject: mapTable
forKey: uuidString];
}
}