• 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
Need help understanding first responder and multiple nibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help understanding first responder and multiple nibs


  • Subject: Need help understanding first responder and multiple nibs
  • From: Jason Bruce <email@hidden>
  • Date: Tue, 3 Aug 2010 18:18:48 -0700 (PDT)

Hi Quincy,

I have an IkImageBrowserView bound to an NSArrayController in MyDocument.  The
 IKImageBrowserView displays images and pdf's.  In my secondary nib file, I have
an NSPredicateEditor which I'd like to use to filter the images and pdfs
displayed in my IkImageBrowswerView.  I've done it this way because the
documentation seems to indicate that it's a good design choice to give each
window it's own nib file.

Jason


> From: Quincey Morris <email@hidden>

> If you want to have both of your window  controllers linked to your document --
>which is perfectly valid, though not  necessarily a good interface design choice
>-- use NSDocument's  'addWindowController:' to establish the link, just after
>creating the second  window controller. But if you choose this route, you're
>responsible for the  housekeeping: removing the window controller later when the
>extra window closes,  naming the windows so that it's clear which Window menu
>item refers to which  window, and managing whether the closing of each window
>also closes the  document.
>
> To follow this even further, we'd need to know what you're  trying to achieve.
>If, in fact, you're trying to implement a document inspector  window, a
>different approach would be  appropriate.
>




_______________________________________________

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

  • Follow-Ups:
    • Re: Need help understanding first responder and multiple nibs
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: override hyperlink handler for WebView
  • Next by Date: Re: Need help understanding first responder and multiple nibs
  • Previous by thread: Re: Need help understanding first responder and multiple nibs
  • Next by thread: Re: Need help understanding first responder and multiple nibs
  • Index(es):
    • Date
    • Thread