"ibtool --connections" -- bindings information not complete
"ibtool --connections" -- bindings information not complete
- Subject: "ibtool --connections" -- bindings information not complete
- From: "Rainer Schmid" <email@hidden>
- Date: Mon, 12 Nov 2007 22:44:32 +0100
Hi,
on Tiger I used "nibtool -x MainMenu.nib" to get information about the
binding in the nib-file. The output was something like
...
"Connection 294" = {
Binding = "value";
Class = "NSNibBindingConnector";
Controller = "281";
KeyPath = "selection.email";
Label = "value: selection.email";
Object = "216";
Options = "{NSConditionallySetsEnabled = 1;
NSContinuouslyUpdatesValue = 1; }";
};
...
If I want to do the same on Leopard, the way is (as I understand it)
"ibtool --connections MainMenu.nib". The output of this is
...
<key>294</key>
<dict>
<key>destination-id</key>
<integer>281</integer>
<key>destination-label</key>
<string>NewAddressController</string>
<key>label</key>
<string>value: selection.email</string>
<key>source-id</key>
<integer>216</integer>
<key>source-label</key>
<string>Text Field</string>
<key>type</key>
<string>IBBindingConnection</string>
</dict>
...
In this output I miss the information about the options for the binding.
Another thing I also noticed is that with nibtool, I get the
information "Binding" and "KeyPath" as separate fields, whereas ibtool
only has the "label" key. But since I want to do automatic
post-processing of the plist output, I prefer the values separated.
Is ibtool capable of outputting the "Options", "Binding" and "KeyPath"
values? How?
Rainer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden