• 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: making a clickable link in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making a clickable link in NSTableView


  • Subject: Re: making a clickable link in NSTableView
  • From: "Rick C." <email@hidden>
  • Date: Mon, 20 Jun 2011 08:54:12 +0800

Great thanks all for pointing me in the right direction.  I'll post back if I have any further questions...


On Jun 20, 2011, at 12:55 AM, Lee Ann Rucker wrote:

> Look at "TableViewLinks/NSAttributedStringAdditions.m" in the sample code.
>
> ----- Original Message -----
> From: "Rick C." <email@hidden>
> To: "Cocoa Development" <email@hidden>
> Sent: Sunday, June 19, 2011 4:08:11 AM
> Subject: making a clickable link in NSTableView
>
> Hello,
>
> I currently have a NSTableView which displays a list of files and normally the table view is not clickable or selectable.  In this list of files I actually display the file path as a subtitle to the file name.  What I would like to do is to turn that file path into a clickable link that when clicked would do the equivalent of Reveal in Finder.  Ideally the file path in my table view would look the way it does currently but when the mouse hovers over it then the cursor would change to a hand indicating it's a link.  I'm assuming I would have to turn the file path into an NSURL but could someone point me in the right direction how to make all of this happen?  Thanks!
>
> rc_______________________________________________
>
> 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

_______________________________________________

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

References: 
 >Re: making a clickable link in NSTableView (From: Lee Ann Rucker <email@hidden>)

  • Prev by Date: Bindings don't work with cut and paste
  • Next by Date: Re: Release a NSWindowController after the window is closed
  • Previous by thread: Re: making a clickable link in NSTableView
  • Next by thread: How to redraw a view in slow-motion
  • Index(es):
    • Date
    • Thread