Re: Strategies for reusing NSPopover
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