• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"ibtool --connections" -- bindings information not complete
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"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

  • Follow-Ups:
    • Re: "ibtool --connections" -- bindings information not complete
      • From: Jonathan Hess <email@hidden>
  • Prev by Date: Re: Problems with class/data model editor in Xcode 3?
  • Next by Date: Re: Re[2]: link stage ignoring my static lib!
  • Previous by thread: Re: Debugging SenTestingKit UnitTests on Leopard
  • Next by thread: Re: "ibtool --connections" -- bindings information not complete
  • Index(es):
    • Date
    • Thread