• 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: Window/Controller, View/Controller, View ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window/Controller, View/Controller, View ?


  • Subject: Re: Window/Controller, View/Controller, View ?
  • From: Quincey Morris <email@hidden>
  • Date: Wed, 01 Feb 2012 10:24:41 -0800

On Feb 1, 2012, at 09:00 , Fritz Anderson wrote:

> Bindings can be your friend here. In simple cases, having an NSObjectController link between controls and .representedObject can do a lot for you.

I'm not sure how it improves the situation to have a NSObjectController. You can bind directly through File's Owner.representedObject.

Other than being bindable-to in IB, I've never seem much utility in NSObjectController. It has one significant feature -- it implements the NSEditorRegistration and NSEditor protocols -- but NSViewController does that too.

But maybe I'm overlooking something.


_______________________________________________

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: 
 >Re: Window/Controller, View/Controller, View ? (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: iOS: "This application needs location services / Allow / Don't Allow" alert
  • Next by Date: Re: Selected text in NSTextField
  • Previous by thread: Re: Window/Controller, View/Controller, View ?
  • Next by thread: Re: Block Confusion...
  • Index(es):
    • Date
    • Thread