• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to display HTML in proper format in a NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to display HTML in proper format in a NSTextView (From: Sandeep Mohan Bhandarkar <email@hidden>)

  • Prev by Date: Re: NSTableView Bindings and Numbered Lines...
  • Next by Date: Re: Weird Core Data crash
  • Previous by thread: How to display HTML in proper format in a NSTextView
  • Next by thread: Re: How to display HTML in proper format in a NSTextView
  • Index(es):
    • Date
    • Thread