• 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: Something truly fundamental I must be missing...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Something truly fundamental I must be missing...


  • Subject: Re: Something truly fundamental I must be missing...
  • From: Seth Willits <email@hidden>
  • Date: Wed, 10 Sep 2008 17:15:50 -0700

On Sep 10, 2008, at 3:51 PM, Joel Sherriff wrote:

As you can see, I've tried creating the Dialog object itself, and the managing Controller class...no joy in either case. I feel like the issue is somewhere in the .nib file - some missing wiring which of course is impossible to display here, but maybe showing snippets of the .h and .m files will show what I've left out.

Well... in the code you showed, you're never loading the nib. You need to either load the nib manually (see NSBundle and NSNib), or use a class (like NSWindowController) which will load the nib you specify (by name) for you.


http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/chapter_3_section_6.html


-- Seth Willits




_______________________________________________

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: 
 >Something truly fundamental I must be missing... (From: Joel Sherriff <email@hidden>)

  • Prev by Date: Re: NSTimer in main NSRunLoop v. InstallEventLoopTimer
  • Next by Date: Re: BOOL array
  • Previous by thread: Re: Something truly fundamental I must be missing...
  • Next by thread: binding to static text
  • Index(es):
    • Date
    • Thread