NSCell with URL
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