mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
nib2cib: discard warnings in the nib file.
This commit is contained in:
@@ -50,7 +50,12 @@
|
||||
_classesKeys = [aCoder decodeObjectForKey:@"NSClassesKeys"];
|
||||
_classesValues = [aCoder decodeObjectForKey:@"NSClassesValues"];
|
||||
|
||||
_connections = [aCoder decodeObjectForKey:@"NSConnections"];
|
||||
var connections = [aCoder decodeObjectForKey:@"NSConnections"];
|
||||
// Filter out connections with invalid destinations.
|
||||
_connections = [connections filteredArrayUsingBlock:function(conn, idx, stop)
|
||||
{
|
||||
return [conn destination] !== nil;
|
||||
}];
|
||||
|
||||
//_fontManager = [aCoder decodeObjectForKey:@"NSFontManager"] retain];
|
||||
_framework = [aCoder decodeObjectForKey:@"NSFramework"];
|
||||
|
||||
@@ -42,6 +42,9 @@ NIB_CONNECTION_EQUIVALENCY_TABLE = {};
|
||||
_destination = [aCoder decodeObjectForKey:@"NSDestination"];
|
||||
_label = [aCoder decodeObjectForKey:@"NSLabel"];
|
||||
|
||||
if (_destination == nil)
|
||||
CPLog.warn(_label);
|
||||
|
||||
var sourceUID = [_source UID],
|
||||
destinationUID = [_destination UID];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user