• 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
NSCell with URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSCell with URL


  • Subject: NSCell with URL
  • From: Charles Romestant <email@hidden>
  • Date: Fri, 20 Mar 2009 15:02:53 +1930

Hello, i'm learning Cocoa and objective-C , so far i'm loving it, Xcode is
great and usually the documentation is really good for my problems, but this
time i'm stumped...

as a "learning" project I decided to create a simple twitter client, i did
 all was ok, but now im complicating it a bit

so far its multithreaded, out of the dock ( system bar only) and working
perfecly, except for the displaying part.

Basically my window has an NSTableView, with 2 columns, the first one is the
NSImage of the twitter user, and the second one has the message.

I d like to get this second one to be more "interactive", like when the
message has an URL, that URL to be clickable ( opening in safari etc..)

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.

Thank you in advance

Charles.

--
Lic. Charles M. Romestant F.
Phone: +58412 622 2298
_______________________________________________

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: Alexander Spohr <email@hidden>
  • Prev by Date: NSTimer & Runloop questions
  • Next by Date: need advice on subclassing NSScrollVIew
  • Previous by thread: Re: NSTimer & Runloop questions
  • Next by thread: Re: NSCell with URL
  • Index(es):
    • Date
    • Thread