Re: How to access files in Cocoa application.
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:25:22 +0000
You can also use this other way, in the Scott Stevenson's tutorial:
http://cocoadevcentral.com/articles/000084.php
Tx.
2007/2/22, Txinto Vaz <email@hidden>:
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