• 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
Re: "ibtool --connections" -- bindings information not complete
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "ibtool --connections" -- bindings information not complete


  • Subject: Re: "ibtool --connections" -- bindings information not complete
  • From: Jonathan Hess <email@hidden>
  • Date: Mon, 12 Nov 2007 16:39:46 -0800

Hey Rainer -

This is regression with ibtool that has already been fixed for our next release. Unfortunately, I don't have a workaround for you.

Jon Hess

On Nov 12, 2007, at 1:44 PM, Rainer Schmid wrote:

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


References: 
 >"ibtool --connections" -- bindings information not complete (From: "Rainer Schmid" <email@hidden>)

  • Prev by Date: Icon Composer question: specifying a mask?
  • Next by Date: Re: Icon Composer question: specifying a mask?
  • Previous by thread: "ibtool --connections" -- bindings information not complete
  • Next by thread: Xcode 3.0 editor function popup not showing functions.
  • Index(es):
    • Date
    • Thread