• 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
Re: NSBundle pathForResource:ofType:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSBundle pathForResource:ofType: (From: "Maryanna Rogers" <email@hidden>)

  • Prev by Date: NSBundle pathForResource:ofType:
  • Next by Date: Re: Cocoa and PICT
  • Previous by thread: NSBundle pathForResource:ofType:
  • Next by thread: attributedTitle method of NSMenuItem returns no attributes
  • Index(es):
    • Date
    • Thread