FROM : Douglas Davidson
DATE : Thu May 15 20:16:03 2008
On May 15, 2008, at 3:56 AM, <email_removed> 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
DATE : Thu May 15 20:16:03 2008
On May 15, 2008, at 3:56 AM, <email_removed> 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 mail archive

