Remove unused methods

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40401 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2017-03-18 22:37:14 +00:00
parent 1865631e69
commit acd59c14bd

View file

@ -822,33 +822,6 @@ didStartElement: (NSString*)elementName
}
}
#pragma mark - Finish decoding connections (actions/outlets) and runtime attributes...
- (void)processRuntimeAttributes: (NSArray*)runtimeAttributes forObject: (id)object
{
NSEnumerator *iter = [runtimeAttributes objectEnumerator];
IBUserDefinedRuntimeAttribute5 *runtimeAttribute = nil;
id theObject = [self nibInstantiate: object];
while ((runtimeAttribute = [iter nextObject]) != nil)
{
#if defined(DEBUG_XIB5)
NSWarnMLog(@"processing object (%@) runtime attr: %@", object, runtimeAttribute);
#endif
[theObject setValue: [runtimeAttribute value] forKeyPath: [runtimeAttribute keyPath]];
}
}
- (void)processRuntimeAttributes: (NSDictionary*)runtimeAttributes
{
NSEnumerator *iter = [runtimeAttributes keyEnumerator];
id key = nil; // Key IS object...
while ((key = [iter nextObject]))
{
[self processRuntimeAttribute: [runtimeAttributes objectForKey: key] forObject: key];
}
}
#pragma mark - Decoding method(s)...
// All this code should eventually move into their respective initWithCoder class
// methods - however note - there are a couple that may be duplicated...