• 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
Dynamically loading NIB files with a common stem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamically loading NIB files with a common stem


  • Subject: Dynamically loading NIB files with a common stem
  • From: Vincent Habchi <email@hidden>
  • Date: Wed, 06 Jul 2011 14:04:43 +0200

Hi there,

I'm, as we say in French, tearing my hair away with this little problem: Briefly, I have an object in a NIB file, and I'd like it to load further NIB files (through +[NSBundle loadNibNamed:owner:] calls), all of them ending with the same suffix (ex: onefoo, twofoo, threefoo).

I just can't seem to find a way to enumerate all NIB files in the main bundle. Has somebody a clue?

Thanks a lot,
Vincent

PS : If you wonder why, let's say the main object is a NSArray, and the NIB files I'd like to load contain objects that register themselves into this array, so they can be retrieved and used afterwards._______________________________________________

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

  • Follow-Ups:
    • Re: Dynamically loading NIB files with a common stem
      • From: Alexander Reichstadt <email@hidden>
  • Prev by Date: Re: NSComboBox in NSTableView behaving strangely
  • Next by Date: Re: QTMovie not playing in new window
  • Previous by thread: RE: Delay in reading cookie using NSHttpCookieStorage
  • Next by thread: Re: Dynamically loading NIB files with a common stem
  • Index(es):
    • Date
    • Thread