• 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: Cannot Access Data File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot Access Data File


  • Subject: Re: Cannot Access Data File
  • From: "I. Savant" <email@hidden>
  • Date: Sun, 1 Oct 2006 18:44:46 -0400

Conrad:

Please give the list guidelines a quick read. Specifically, you need to provide just a bit more information. What is the code you're using to access the file in question?

Without this information, I'll guess: You're looking for a way to access files in your app bundle's Resources folder. Take a look at the NSBundle class documentation:

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ Classes/NSBundle_Class/Reference/Reference.html

--
I.S.


On Oct 1, 2006, at 6:35 PM, Conrad Taylor wrote:

Hi, I'm new to Cocoa and XCode IDE.  Anyway, I have created a project
and added existing source files to it including the appropriate data
files to the source area of the tool.  However, when I run the
application (i.e Compile and Go). I cannot access the data file when
the application is ran.  Is there an additional step for adding data
files to a project?

Thanks in advance,

-Conrad
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Cannot Access Data File (From: "Conrad Taylor" <email@hidden>)

  • Prev by Date: Cannot Access Data File
  • Next by Date: Re: Re: Cannot Access Data File
  • Previous by thread: Cannot Access Data File
  • Next by thread: Re: Re: Cannot Access Data File
  • Index(es):
    • Date
    • Thread