• 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: Strategies for reusing NSPopover
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strategies for reusing NSPopover


  • Subject: Re: Strategies for reusing NSPopover
  • From: Chris Hanson <email@hidden>
  • Date: Sat, 13 Aug 2011 11:48:23 -0700

On Aug 13, 2011, at 8:38 AM, Martin Hewitson <email@hidden> wrote:

> As I'm writing this I realise it would be much nicer to pass a reference to the model object to the view-controller before launching the popup, then have the view controller update the model object. I'll play with this some more.

This is definitely a good approach - either to present a model-specific view controller, or to have a generic "date picker controller" that implements a delegate pattern or a selected date property (like, say, NSOpenPanel does).

  -- Chris

_______________________________________________

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: 
 >Strategies for reusing NSPopover (From: Martin Hewitson <email@hidden>)
 >Re: Strategies for reusing NSPopover (From: Andre Masse <email@hidden>)
 >Re: Strategies for reusing NSPopover (From: Martin Hewitson <email@hidden>)

  • Prev by Date: Anyone else having serious issues with Xcode 4?
  • Next by Date: Re: Anyone else having serious issues with Xcode 4?
  • Previous by thread: Re: Strategies for reusing NSPopover
  • Next by thread: Re: Strategies for reusing NSPopover
  • Index(es):
    • Date
    • Thread