Re: Attack My Code! Part 1
Re: Attack My Code! Part 1
- Subject: Re: Attack My Code! Part 1
- From: Manfred Schwind <email@hidden>
- Date: Fri, 13 Jun 2008 09:24:37 +0200
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 don't know.
Regards,
Mani
--
http://mani.de - friendly software
iVolume - listen to music freehand
LittleSecrets - the encrypted notepad
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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