Re: Embedding a WebView in a Table
Re: Embedding a WebView in a Table
- Subject: Re: Embedding a WebView in a Table
- From: "Adam R. Maxwell" <email@hidden>
- Date: Tue, 20 Mar 2007 22:24:16 -0700
On Mar 20, 2007, at 22:06, I. Savant wrote:
On Mar 21, 2007, at 12:41 AM, Steve Israelson wrote:
Well, the drawing is simplistic.
Item things like Name : Joe Number of items: 25
In an html table.
Maybe an image or 2.
Themeable using custom CSS supplied by the user.
...
Okay, so your goal is to create some kind of a themeable list view.
Now we're getting somewhere; WebKit is definitely the path of least
resistance, but is kind of heavyweight and you're looking for
optimization.
Have you tried NSAttributedString's initWithHTML... methods? Drawing
attributed strings in table cells should be much easier than drawing
with a WebView.
-- Adam
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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