mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 09:51:08 +00:00
Debug changes
This commit is contained in:
parent
b88bff5ddb
commit
d90821dc8e
3 changed files with 23 additions and 2 deletions
|
@ -63,6 +63,19 @@
|
|||
|
||||
@end
|
||||
|
||||
|
||||
@interface GSXibKeyedUnarchiver (DebugMethods)
|
||||
- (NSDictionary *) objects;
|
||||
@end
|
||||
|
||||
@implementation GSXibKeyedUnarchiver (DebugMethods)
|
||||
- (NSDictionary *) objects
|
||||
{
|
||||
return objects;
|
||||
}
|
||||
@end
|
||||
|
||||
|
||||
@interface GSStoryboardLoader: GSModelLoader
|
||||
{
|
||||
}
|
||||
|
|
|
@ -155,6 +155,14 @@ static NSString *ApplicationClass = nil;
|
|||
|
||||
@end
|
||||
|
||||
@interface GSScene : NSObject
|
||||
{
|
||||
NSMutableArray *scenes;
|
||||
}
|
||||
@end
|
||||
|
||||
@implementation GSScene
|
||||
@end
|
||||
|
||||
@implementation GSXib5KeyedUnarchiver
|
||||
|
||||
|
@ -181,6 +189,7 @@ static NSArray *XmlBoolDefaultYes = nil;
|
|||
// associated class...
|
||||
XmlTagToObjectClassMap =
|
||||
[NSDictionary dictionaryWithObjectsAndKeys:
|
||||
@"NSMutableArray", @"scenes",
|
||||
@"NSMutableArray", @"objects",
|
||||
@"NSMutableArray", @"items",
|
||||
@"NSMutableArray", @"tabViewItems",
|
||||
|
@ -207,6 +216,7 @@ static NSArray *XmlBoolDefaultYes = nil;
|
|||
@"NSWindowTemplate", @"window",
|
||||
@"NSView", @"tableCellView",
|
||||
@"IBUserDefinedRuntimeAttribute5", @"userDefinedRuntimeAttribute",
|
||||
@"GSScene", @"scene",
|
||||
nil];
|
||||
RETAIN(XmlTagToObjectClassMap);
|
||||
|
||||
|
|
|
@ -53,14 +53,12 @@
|
|||
@end
|
||||
|
||||
@implementation NSMenu (XibCompatibility)
|
||||
|
||||
- (BOOL) _isMainMenu
|
||||
{
|
||||
if (_name)
|
||||
return [_name isEqualToString:@"_NSMainMenu"];
|
||||
return NO;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@interface GSXibLoader: GSModelLoader
|
||||
|
|
Loading…
Reference in a new issue