NSData* data = [ attrString RTFDFromRange:wholeStringRange
documentAttributes:nil ];
[ thePasteboard setData:data forType:NSRTFPboardType ];
Either use RTFDFromRange and NSRTFDPboardType or RTFFromRange
and NSRTFPboardType, but do not mix them.
Maybe that's the reason for the garbage, I
I'm new at programming in Cocoa, and if it is not rude to post a big
block of code to this list, I'd like to show you all a class I
developed and ask you to tell me about all the ways I've screwed it up!
BACKGROUND INFO
I'm trying to learn Chinese and I have a bunch of comic books to (try
Oops, I forgot to mention, I'm using garbage collection so that I
won't have to struggle with retention!
I wish I had edited my previous post a bit more for clarity, but it's
late and I gotta get to bed.
___
Cocoa-dev mailing list