• 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: What exactly does NSController do?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What exactly does NSController do?


  • Subject: Re: What exactly does NSController do?
  • From: Rob Keniger <email@hidden>
  • Date: Thu, 19 Nov 2009 16:08:52 +1000

On 19/11/2009, at 11:44 AM, Chase Meadors wrote:

> However, my question becomes more strange, as now I have many working bindings systems in my code without any NSControllers. Binding to plain old NSObjects seems to be fine. What is the purpose of NSController?


NSObjectController and friends conform to the NSEditor informal protocol, which means they correctly handle -commitEditing and -discardEditing messages, which binding directly to an object doesn't do.

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

References: 
 >What exactly does NSController do? (From: Chase Meadors <email@hidden>)
 >Re: What exactly does NSController do? (From: Chase Meadors <email@hidden>)

  • Prev by Date: Re: Annoying Pragma Mark "Feature"
  • Next by Date: Re: Keeping NSView square
  • Previous by thread: Re: What exactly does NSController do?
  • Next by thread: Re: What exactly does NSController do?
  • Index(es):
    • Date
    • Thread