• 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
Shouldn't be (null) - pathForResource:ofType:inDirectory:forLocalization:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shouldn't be (null) - pathForResource:ofType:inDirectory:forLocalization:


  • Subject: Shouldn't be (null) - pathForResource:ofType:inDirectory:forLocalization:
  • From: Francis Derive <email@hidden>
  • Date: Mon, 13 Aug 2007 17:02:42 +0200

Dear all,

pathForResource:ofType:inDirectory: gives /Volumes/[...]/Contents/ Resources/English.lproj/DSMainMenu.nib and that's fine.

but [[NSBundle mainBundle] pathForResource:@"DSMainMenu" ofType:@"nib" inDirectory:nil forLocalization:@"French"]); gives (null).

I would like the french localization of the same DSMAinMenu.nib file : /Volumes/[...]/Contents/Resources/French.lproj/DSMainMenu.nib.

What "inDirectory" argument to give : nil as I did ? "@"Resources" is obvious for a pathForResource: but doesn'make any better.

Francis


_______________________________________________

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: Shouldn't be (null) - pathForResource:ofType:inDirectory:forLocalization:
      • From: Francis Derive <email@hidden>
  • Prev by Date: Re: which button is chosen as 'default'
  • Next by Date: Re: Drag with NSTableView
  • Previous by thread: Re: which button is chosen as 'default'
  • Next by thread: Re: Shouldn't be (null) - pathForResource:ofType:inDirectory:forLocalization:
  • Index(es):
    • Date
    • Thread