mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-10 12:47:13 +00:00
Added debug logging, some more samples in AppController
This commit is contained in:
@@ -533,6 +533,17 @@ SW5pdGlhbEZpcnN0UmVzcG9uZGVyIG1ldGhvZA</string>
|
||||
<string key="keyPath">initialResponder</string>
|
||||
<real value="2" key="value"/>
|
||||
</object>
|
||||
<object class="IBUserDefinedRuntimeAttribute">
|
||||
<string key="typeIdentifier">com.apple.InterfaceBuilder.userDefinedRuntimeAttributeType.string</string>
|
||||
<string key="keyPath">localized</string>
|
||||
<string key="value">foo</string>
|
||||
<bool key="localized">YES</bool>
|
||||
</object>
|
||||
<object class="IBUserDefinedRuntimeAttribute">
|
||||
<string key="typeIdentifier">com.apple.InterfaceBuilder.userDefinedRuntimeAttributeType.nil</string>
|
||||
<string key="keyPath">null</string>
|
||||
<nil key="value"/>
|
||||
</object>
|
||||
</array>
|
||||
</object>
|
||||
</object>
|
||||
|
||||
@@ -54,7 +54,8 @@ NIB_CONNECTION_EQUIVALENCY_TABLE = {};
|
||||
_destination = NIB_CONNECTION_EQUIVALENCY_TABLE[destinationUID];
|
||||
}
|
||||
|
||||
CPLog.debug(@"Connection: " + [_source description] + " " + [_destination description] + " " + _label);
|
||||
if (_source && _destination)
|
||||
CPLog.debug(@"Connection: " + [_source description] + " " + [_destination description] + " " + _label);
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -180,6 +181,13 @@ var NSTramsformers = [CPSet setWithObjects:
|
||||
_source = [aCoder decodeObjectForKey:@"NSObject"];
|
||||
_keyPaths = [aCoder decodeObjectForKey:@"NSKeyPaths"];
|
||||
_values = [aCoder decodeObjectForKey:@"NSValues"];
|
||||
|
||||
var count = [_keyPaths count];
|
||||
|
||||
CPLog.debug(@"Runtime Attributes Connector: " + [_source description]);
|
||||
|
||||
while (count--)
|
||||
CPLog.debug(@" %s (%s): %s", _keyPaths[count], [_values[count] className], _values[count]);
|
||||
}
|
||||
|
||||
return self;
|
||||
|
||||
Reference in New Issue
Block a user