Re: Looking for HTML viewer method.
Re: Looking for HTML viewer method.
- Subject: Re: Looking for HTML viewer method.
- From: Scott Anguish <email@hidden>
- Date: Sat, 20 Apr 2002 17:07:02 -0400
On Saturday, April 20, 2002, at 04:56 PM, Rich Van Deren (d8h>>d;) wrote:
>
We can view HTML in textedit. But I can not see how it is done. Must
>
your 'read' a file. If you have some html in memory somewhere can you
>
reder the HTML?
>
Load the HTML into an NSAttributedString
initWithHTML:documentAttributes:
- (id)initWithHTML:(NSData *)data documentAttributes:(NSDictionary
**)docAttributes
Initializes and returns a new NSAttributedString from HTML contained in
data. Also returns by reference in docAttributes a dictionary containing
document-level attributes described in "Constants". docAttributes can be
NULL, in which case no document attributes are returned. Returns nil if
data can't be decoded.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.