• 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: [xcode-users] Custom IB Bindings Inspector?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xcode-users] Custom IB Bindings Inspector?


  • Subject: Re: [xcode-users] Custom IB Bindings Inspector?
  • From: Kai <email@hidden>
  • Date: Tue, 18 Mar 2008 12:45:11 +0100


On 17.3.2008, at 13:25, Alexander von Below wrote:

Hello List,

I would like to show the custom bindings from my NSView subclass. Do I have to write an IBPlugin (for IB 3) to do that?

Yes, you have to. This is the only way to give IB access to your custom code. Otherwise it can simply not now about exposeBinding and other functions.


With an extension adding custom bindings works well. I overwrote - exposedBindings, though, instead of calling +exposeBinding: in +initialize. And I implemented -valueClassForBinding and - optionDescriptionsForBinding:, too. Not sure whether any of them was mandatory to make it work.

Best
Kai


The tutorial does not seem to be concerned about custom bindings at all.

Simply calling +exposeBinding: in +initialize does not seem to do the trick.

Thanks for any pointers

Alex
_______________________________________________
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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >[xcode-users] Custom IB Bindings Inspector? (From: Alexander von Below <email@hidden>)

  • Prev by Date: Re: dylib library from
  • Next by Date: Re: Xcode 3.0 crashes and 32-bit mode
  • Previous by thread: [xcode-users] Custom IB Bindings Inspector?
  • Next by thread: Can't compile, preprocessor define is coming from unknown place!
  • Index(es):
    • Date
    • Thread