This is what I have:  Essentially the 'cocoa application' template with an AppController (NSObject) class added on.  The AppController has been put in the main menu nib.  The application loads a pdf into a pdfview (this part works), however I have a problem.  I don't want the blank window to be shown at startup, and I also want to be able to recreate the window if another pdf is chosen after the window is closed.  I have a (IBOutlet) NSWindow *window pointing to the window in the mainmenu.nib, and that connection is OK because I am able to zoom the window.  I have a openPDFDialog method that is bound to the Open menuitem.  In this method a NSopenpanel is used and pdfview is loaded with the pdfdocument.  However, I can't get the window to show.
note: I am able to zoom the window if i let the window open at launch.
	
		
			
		
		
	
				
			note: I am able to zoom the window if i let the window open at launch.