On Aug 13, 2011, at 8:38 AM, Martin Hewitson <[email protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to