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: Jens Alfke <email@hidden>
- Date: Thu, 8 Apr 2010 09:19:53 -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?
I'm not aware of anything that does this.
Are you talking about parsing entire CSS files, or just a single
"property: value;" rule?
Even the simple case isn't that simple; CSS can be pretty complex. And
most of the attributes don't map cleanly into AppKit text attributes.
—Jens_______________________________________________
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