Re: Creating a Hyperlink in the UI
Re: Creating a Hyperlink in the UI
- Subject: Re: Creating a Hyperlink in the UI
- From: Karl Moskowski <email@hidden>
- Date: Mon, 3 Nov 2008 19:05:39 -0500
On 3-Nov-08, at 3:52 PM, development2 wrote:
I need to create Hyperlink to the companies web site, but the link
will be in a NSTextField. How do I create a hyperlink in this text
field. I am sure it is something with NSMutableAttributedString but
can't seem to figure it out. I though maybe there was some Cocoa class
to do that, but could not find anything. Does anyone have one or know
where I might be able to find one?
Try the HyperlinkButton class here:
<http://www.cocoadev.com/index.pl?InsertHyperlink>
It uses ObjC 2.0 dot notation; if you need Tiger support, you'd have
to change it a bit.
----
Karl Moskowski <email@hidden>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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