Shouldn't be (null) - pathForResource:ofType:inDirectory:forLocalization:
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