• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSCell with URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSCell with URL
      • From: Charles Romestant <email@hidden>
References: 
 >NSCell with URL (From: Charles Romestant <email@hidden>)

  • Prev by Date: Re: How to debug this...
  • Next by Date: asl_search abysmally slow
  • Previous by thread: NSCell with URL
  • Next by thread: Re: NSCell with URL
  • Index(es):
    • Date
    • Thread