Re: Bindind in IBPlugin?
Re: Bindind in IBPlugin?
- Subject: Re: Bindind in IBPlugin?
- From: Chris Hanson <email@hidden>
- Date: Sun, 03 Jan 2010 19:11:19 -0800
On Jan 3, 2010, at 11:41 AM, Rick Mann wrote:
> Do you know when the actual binding takes place (that is, when a nib with your custom view is loaded, and a binding was specified in the nib, when does it actually get bound)?
In IB terms, a binding is just another kind of connection. So it will be established during nib loading, at the “same time” as outlet and target-action connections.
For a binding you’re exposing, be sure to not just use +exposeBinding: but also respond to -optionDescriptionsForBinding: and -valueClassForBinding: (from the <NSKeyValueBindingCreation> protocol) so Interface Builder can show your binding options and applicable value transformers.
— Chris
_______________________________________________
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