TipWrapper

Last Revision:
Version 1.0, 2003-12-18
Shows how to wrap long tool tips into multiple lines in Cocoa.
Build Requirements:
Runtime Requirements:
Mac OS X Mac OS X 10.2 or higher, Project Builder

TipWrapper is an example Cocoa application which shows how to wrap long tool tips into multiple lines, a feature not provided by the AppKit before OS X 10.3. To do the wrapping, it makes extensive use of the AppKit's features for measuring and laying out text. You can use this approach to wrap tool tips on OS X 10.2 and earlier, but 10.3 provides much a better wrapping implementation than this example. Requirements: Mac OS X 10.2 or higher, Project Builder Keywords: tooltip setToolTip wrapping