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 <quinceymor...@earthlink.net>

> 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 (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

Reply via email to