Re: NSBundle pathForResource:ofType:
Re: NSBundle pathForResource:ofType:
- Subject: Re: NSBundle pathForResource:ofType:
- From: j o a r <email@hidden>
- Date: Mon, 13 Aug 2007 22:42:54 +0200
On 13 aug 2007, at 22.38, Maryanna Rogers wrote:
Now if I add a different type of file to my app resources (foo.xyz),
and try to get it:
NSString* fPath = [[NSBundle mainBundle] pathForResource:@"foo"
ofType:@"xyz"]
It can't be found. Is there something special I should know about the
ofType: parameter?
That's the only thing I've changed?!
Have you verified that the new file is properly copied over to the
built application?
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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