Re: [xcode-users] Custom IB Bindings Inspector?
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