• 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: Custom NSView Subclass and Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Custom NSView Subclass and Bindings (From: Alan Donsky <email@hidden>)

  • Prev by Date: Re: MAKE a movie/animation from some NSImages
  • Next by Date: Re: MAKE a movie/animation from some NSImages
  • Previous by thread: Custom NSView Subclass and Bindings
  • Next by thread: OT: Online Stores
  • Index(es):
    • Date
    • Thread