• 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: Attack My Code! Part 1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Attack My Code! Part 1 (From: Charles Jenkins <email@hidden>)

  • Prev by Date: Re: Table View/Array Troubles
  • Next by Date: Re: Table View/Array Troubles
  • Previous by thread: Attack My Code! Part 1
  • Next by thread: Attack My Code! Part 1 (postscript)
  • Index(es):
    • Date
    • Thread