On 22 May '08, at 3:02 AM, [EMAIL PROTECTED] wrote:

NSData* tData = [str dataFromRange: NSMakeRange(0, [str length])
documentAttributes: attr error: nil];

It giving html code, but it doesn;t giving <B>,<I>,<U> and colour tags
corresponding to the texts in textview.

You didn't show where 'str' comes from. Could you add that line?
Also, did you try passing in a value for 'error' to see if any error/ warning messages are returned?

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to