Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Mac OS X Mac OS X, Project Builder 2.0 (project can be downgraded)

View Source Code:

Download Sample (“TextViewConfig.zip”, 33.2K)
Download Sample (“TextViewConfig.dmg”, 86.6K)



Description

This application demonstrates configuration of multiple layout managers and multiple text container/text view pairs on a single text storage. On the left, it displays a single standard text view, representing a continuous view of e.g. a slide presentation. On the right, the same text is displayed with a separate layout manager and a set of fixed-size text containers and text views, representing a slide-by-slide view. For demo purposes we present a fixed number of slides; a real application would create them dynamically as needed, as for example TextEdit creates pages in wrap-to-page mode (see the TextEdit source for details). Requirements: Mac OS X, Project Builder 2.0 (project can be downgraded) Keywords: NSTextView cocoa nstextview text nstextcontainer nslayoutmanager

Document Revision History

Date Notes
2003-01-14Configuration of multiple layout managers and multiple text container/text view pairs on a single text storage.

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.