• 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: "Txinto Vaz" <email@hidden>
  • Date: Thu, 22 Feb 2007 12:11:43 +0000

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.

You will need to read the Core Data documentation:

http://developer.apple.com/macosx/coredata.html
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/index.html

The core data method does not allow (directly) to write text files in
not-XML way, it allows you to, transparently and magically, have your data
in XML file.  If you need the data in some not-XML format you can
post-process it using some XSLT transformation.

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.

Tx.

2007/2/22, Sachin Kumar Tulla <email@hidden>:

Hi all, Iam new to cocoa application. I need to save the data from cocoa application to a normal text file. How to proceed with??

Thanks & Regards
��
Sachin Kumar Tulla
Moschip Semiconductors Pvt.Ltd
email@hidden



_______________________________________________

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

_______________________________________________

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

  • Follow-Ups:
    • Re: How to access files in Cocoa application.
      • From: Andrew Farmer <email@hidden>
    • Re: How to access files in Cocoa application.
      • From: "Txinto Vaz" <email@hidden>
References: 
 >How to access files in Cocoa application. (From: Sachin Kumar Tulla <email@hidden>)

  • Prev by Date: How to access files in Cocoa application.
  • Next by Date: Re: How to access files in Cocoa application.
  • Previous by thread: How to access files in Cocoa application.
  • Next by thread: Re: How to access files in Cocoa application.
  • Index(es):
    • Date
    • Thread