• 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
another bundle question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

another bundle question


  • Subject: another bundle question
  • From: Dan Watson <email@hidden>
  • Date: Fri, 27 Jul 2001 18:10:31 -0400

is it possible to load nib files from within a bundle? specifically, i'm looking to be able to write bundles that handle different parts of my program, including different windows. i've written a bundle and a test program to load it, but when i go to show the window in the bundle ([window makeKeyAndOrderFront:self]) i get:

Jul 27 18:06:27 BundleLoader[411] ChatBundle : inited
Jul 27 18:06:27 BundleLoader[411] -[ChatBundle loadWindow]: failed to load window nib file 'ChatWindow'.

and i have ChatBundle.nib set as the main nib file in the target's bundle settings. i know i'm loading the bundle right because i'm getting feedback from functions i call in the bundle via NSLog, it just doesn't want to show the window. am i going about this wrong? or is it not possible?

thanks,
dan


  • Prev by Date: Re: why does the method popup sometimes not appear in PB ?
  • Next by Date: Warnings on calls to methods during compilation
  • Previous by thread: Your Mac's clock (was: Re: Cupertino Cocoa Kitchen
  • Next by thread: Warnings on calls to methods during compilation
  • Index(es):
    • Date
    • Thread