Re: How to display HTML in proper format in a NSTextView
Re: How to display HTML in proper format in a NSTextView
- Subject: Re: How to display HTML in proper format in a NSTextView
- From: Fritz Anderson <email@hidden>
- Date: Tue, 29 Nov 2011 07:40:40 -0600
On 29 Nov 2011, at 3:27 AM, Sandeep Mohan Bhandarkar wrote:
> Here htmlData is an NSData object that has been initialized with the contents of an HTML File. However on doing this the HTML Displayed in the Text view does not seem to be formatted correctly. Please see the figure below.
The mailing list doesn't pass attachments. Could you post your picture to some publicly-available web site? And then post to the list the URL, and a better description of the problem than "not... formatted correctly." Perhaps your web posting could use the HTML (preferably on the same page) so we can see what you intend. But you should still describe what you feel is incorrect.
Also, perhaps you could pass an NSDictionary* pointer into initWithHTML:attributes:, and tell us what the resulting attributes are.
— F
_______________________________________________
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