• 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: How to access files in Cocoa application.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to access files in Cocoa application.


  • Subject: Re: How to access files in Cocoa application.
  • From: Andrew Farmer <email@hidden>
  • Date: Thu, 22 Feb 2007 04:28:51 -0800

On 22 Feb 07, at 04:11, Txinto Vaz wrote:
Maybe the most powerful way is to use the Core Data technology, it provides
to you a method to develop applications and to automatically store its data
in some different formats, such as XML (text readable), binary or SQLite.

I'm not really sure why you're mentioning CoreData here, as the OP was asking about "a normal text file". CoreData is almost certainly going to be a proverbial elephant gun for this task (and might end up blowing off the poor user's foot in the process).


On 22 Feb 07, at 04:11, Txinto Vaz wrote:
The other method (and simpler) does not depend on Cocoa, si simply using the
C file manipulation routines (fopen, fclose, fprintf, etc...), or the ones
in Objective-C.

C stdio isn't Cocoa, either; the correct answer is NSFileHandle (part of Core Foundation).


To the original poster: documentation is available online and on your computer. Please read it before posting - this answer wasn't very hard to find.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

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: 
 >How to access files in Cocoa application. (From: Sachin Kumar Tulla <email@hidden>)
 >Re: How to access files in Cocoa application. (From: "Txinto Vaz" <email@hidden>)

  • Prev by Date: Re: How to access files in Cocoa application.
  • Next by Date: Re: Cocoa-dev Digest, Vol 4, Issue 176
  • Previous by thread: Re: How to access files in Cocoa application.
  • Next by thread: Re: How to access files in Cocoa application.
  • Index(es):
    • Date
    • Thread