On May 15, 2008, at 3:56 AM, [EMAIL PROTECTED] wrote:

I'm using xcode3.0 and objective c.Is there any way to generate html from
the plain test or images?Actualy i've to send mail in both the way in
normal way and its html view also.So cocoa provide any features to
this?Anybody can help me?

NSAttributedString has methods defined in AppKit (in the <AppKit/ NSAttributedString.h> header) that will read and write a variety of file formats, including HTML and XHTML. There are also options that provide a high degree of control over the tags that will be used in the generated HTML. Take a look at the source to TextEdit for examples.

Douglas Davidson

_______________________________________________

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]
  • html vinitha
    • Re: html Mike Abdullah
    • Re: html Douglas Davidson

Reply via email to