Re: Simple NSWindowController (or window in secondary nib)
Re: Simple NSWindowController (or window in secondary nib)
- Subject: Re: Simple NSWindowController (or window in secondary nib)
- From: Trygve Inda <email@hidden>
- Date: Sun, 07 Feb 2010 05:35:41 +0000
- Thread-topic: Simple NSWindowController (or window in secondary nib)
> 2010/2/6 Trygve Inda <email@hidden>:
>> Any thoughts on a design pattern for this situation?
>
> I'd make your table view controller a subclass of NSViewController,
> and instead of using a modal window I'd use a sheet, which your table
> view controller would be the delegate of. All your logic gets to stay
> in one place, and you don't put up modal UI where it's not necessary
> (unless, of course, you actually *do* want to make an app-modal
> window).
>
> --Kyle Sluder
>
So would you move the checkbox window into the main nib and make it a sheet?
I'll also need a similar simple window to set a multi-value predicate.
So there are two "helper" windows involved here in addition to the main
TableController.
Thanks,
Trygve
_______________________________________________
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