Re: saving rtf data in non-document based app
Re: saving rtf data in non-document based app
- Subject: Re: saving rtf data in non-document based app
- From: Moray Taylor <email@hidden>
- Date: Sat, 31 Jan 2004 22:19:15 +0000
Hi,
You should be able to use NSText and writeRTFDToFile:, it should work
fine in a non-document based app.
Is this what you are looking for?
Cheers
Moray
Greetings,
I am creating an application which has no real reason to be
document-based. However, I want the app to create reports that I
want to save. I realize I can implement NSCoding to do normal
archiving and unarchiving. However, what I'd like to do is to have
the app be able to save its data as it goes along, but let the user
create rtf reports that can be read in a text editor.
This seems like a fairly simple question, but it's my first real app,
and I don't seem to be clear after reading several books, tutorials,
etc. They tell how to do it with document apps, but not non-document
apps.
Any suggestions would be appreciated.
Andrew
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.