• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Simple NSWindowController (or window in secondary nib)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Simple NSWindowController (or window in secondary nib) (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Simple NSWindowController (or window in secondary nib)
  • Next by Date: iPhone: Lost with GK
  • Previous by thread: Re: Simple NSWindowController (or window in secondary nib)
  • Next by thread: iPhone: Lost with GK
  • Index(es):
    • Date
    • Thread