• 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: CSS style string to NSAttributedString attributes conversion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CSS style string to NSAttributedString attributes conversion


  • Subject: Re: CSS style string to NSAttributedString attributes conversion
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 8 Apr 2010 09:27:45 -0700

On Apr 8, 2010, at 2:53 AM, email@hidden wrote:

> I want to convert CSS style strings to NSAttributedString attributes.
>
> AppKit and WebKit don't seem to offer a solution.
>
> Does anyone know of any permissive licence third part code?

AppKit doesn't expose anything to handle CSS by itself, but if CSS is applied to HTML, AppKit's HTML import will convert it to attributes on the text.  You might be able to make use of that.

Douglas Davidson

_______________________________________________

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: 
 >CSS style string to NSAttributedString attributes conversion (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Query on File Wrapping
  • Next by Date: Re: Single-click words in NSTableView / NSTextFieldCell
  • Previous by thread: Re: CSS style string to NSAttributedString attributes conversion
  • Next by thread: Best way to Define Project Wide Static Strings?
  • Index(es):
    • Date
    • Thread