Re: Adding bindings to a NSView descendant
Re: Adding bindings to a NSView descendant
- Subject: Re: Adding bindings to a NSView descendant
- From: Mark Munte <email@hidden>
- Date: Mon, 12 Mar 2007 17:52:30 +0100
Hi list,
I've created an NSView descendant. It provides getters and setters
for some properties. I would like to expose these as bindings in
Interface Builder.
I've added the following to the Class
+ (void)initialize
{
[self exposeBinding:@"whiteBalance"];
[self exposeBinding:@"whiteBalanceBounds"];
}
But that did nothing in Interface Builder, the bindings do not
appear.
What am I missing?
Have you looked at this example:
Thanks for the example Sean,
but, is there no other (easier) way of doing it?
I don't need a palette and other stuff for my view, just the bindings :)
Mark
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden