Re: Custom NSView Subclass and Bindings
Re: Custom NSView Subclass and Bindings
- Subject: Re: Custom NSView Subclass and Bindings
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 6 Mar 2004 11:44:51 -0800
On Mar 6, 2004, at 9:02 AM, Alan Donsky wrote:
Has anyone successfully created a NSView subclass that works with
bindings?
Yes.
I can get it to mostly work in that my view correctly updates itself
when the model changes, but i cannot figure out how to make changes in
the custom view affect the model. Simply using accessors does NOT
work.
As the documentation states, use KVC.
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.