Re: CSS style string to NSAttributedString attributes conversion
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