> 2010/2/6 Trygve Inda <cocoa...@xericdesign.com>: >> 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 (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com