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: Kyle Sluder <email@hidden>
- Date: Sat, 6 Feb 2010 21:29:04 -0800
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
_______________________________________________
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