Version: 1.0

Posted: 2003-07-29

Build Requirements: N/A

Runtime Requirements: Mac OS X Mac OS X

View Source Code:

Download Sample (“TextLinks.zip”, 84.8K)
Download Sample (“TextLinks.dmg”, 145.0K)



Description

TextLinks is an example Cocoa application which shows how to programmatically create links to URLs and other objects, handle clicks in non-URL links, and display a custom mouse cursor over links. You can also use it to view the attributes in rich text. This version (0.2) fixes a minor bug in displaying the attributes under the mouse. Requirements: Mac OS X Keywords: Cocoa NSTextView NSAttributedString NSURL link attributes cursor

Document Revision History

Date Notes
2003-07-29Programmatically creates links to URLs and other objects and handles clicks in non-URL links.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.