Re: NSCell with URL
Re: NSCell with URL
- Subject: Re: NSCell with URL
- From: Alexander Spohr <email@hidden>
- Date: Fri, 20 Mar 2009 11:12:44 +0100
Am 20.03.2009 um 15:02 schrieb Charles Romestant:
But I don't see how to do this.
I tried NSAttributedString but its painfully slow ( seems that (id
)tableView:(NSTableView *)tv objectValueForTableColumn:(NSTableColumn
*)tableColumn
row:(int)row is called on every refresh resize of the page),
plus i did not get to put the URL in there either, just some colours.
What would be the proper way to go about this.
First, make the above method fast! That thing has to be fast, as it
will be called every time the data changes. Cache your contents /
NSAttributedStrings in an NSArray.
Only after that method is really fast think about how to get your cell
to do what you want.
atze
_______________________________________________
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