• 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: Having trouble just displaying a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Having trouble just displaying a window


  • Subject: Re: Having trouble just displaying a window
  • From: Rick Mann <email@hidden>
  • Date: Thu, 15 Nov 2007 10:04:43 -0800


On Nov 15, 2007, at 8:52 AM, Gordon Apple wrote:

This is the same issue I posted about a couple of weeks ago. Like
myself, he just followed what was in the Sketch sample code and found out it
didn't work when using a .xib instead of a the original .nib with the
earlier IB. Something gets lost in the translation. Using the window
controller for the file's owner instead of the Application fixes it. That's
also why the newer Sketch .xib includes an explicit controller object solely
for the purpose of getting a direct connection to the Application.

Oh, I guess I should clarify. The File's Owner had already been set to NSWindowController. What I had failed to do was to set it's window outlet to point to my window object in IB. That was my missing link (literally).


--
Rick

_______________________________________________

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: Having trouble just displaying a window (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: is lockFocus main thread specific?
  • Next by Date: Weird problem with writeToUrl:ofType:error
  • Previous by thread: Re: Having trouble just displaying a window
  • Next by thread: [newbie][Core Data] Code-side filled data not shown in Table
  • Index(es):
    • Date
    • Thread