Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Embedding a WebView in a Table




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Embedding a WebView in a Table (From: Steve Israelson <email@hidden>)
 >Re: Embedding a WebView in a Table (From: "I. Savant" <email@hidden>)
 >Re: Embedding a WebView in a Table (From: Steve Israelson <email@hidden>)
 >Re: Embedding a WebView in a Table (From: "I. Savant" <email@hidden>)
 >Re: Embedding a WebView in a Table (From: Steve Israelson <email@hidden>)
 >Re: Embedding a WebView in a Table (From: "I. Savant" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.