• 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: saving rtf data in non-document based app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >saving rtf data in non-document based app (From: Andrew Kinnie <email@hidden>)

  • Prev by Date: Re: Dragging
  • Next by Date: Re: Row dragging ...
  • Previous by thread: saving rtf data in non-document based app
  • Next by thread: Row dragging ...
  • Index(es):
    • Date
    • Thread