• 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
Saving a RTFD-file with NSAttributedString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Saving a RTFD-file with NSAttributedString


  • Subject: Saving a RTFD-file with NSAttributedString
  • From: Tae-Won Ha <email@hidden>
  • Date: Sat, 02 Feb 2002 22:15:51 +0100

Hi! I'm a very newbie and got a simple question:

NSAttributedString *attrString = [[NSAttributedString alloc]
initWithString:@""];
[[attrString RTFDFromRange:NSMakeRange(0, [attrString length])
documentAttributes:nil] writeToFile:aPath atomically:YES];

Why does that not work?

Thanx in advance. =)
--
Tae. =)


  • Follow-Ups:
    • Re: Saving a RTFD-file with NSAttributedString
      • From: Douglas Davidson <email@hidden>
    • Re: Saving a RTFD-file with NSAttributedString
      • From: Matthew Formica <email@hidden>
  • Prev by Date: Re: sound advice
  • Next by Date: Re: OpenGL problem
  • Previous by thread: dissolveToPoint:fraction?
  • Next by thread: Re: Saving a RTFD-file with NSAttributedString
  • Index(es):
    • Date
    • Thread