Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
TextViewConfig
Last Revision: | Version 1.0, 2003-01-14 Configuration of multiple layout managers and multiple text container/text view pairs on a single text storage. |
Build Requirements: | |
Runtime Requirements: | Mac OS X Mac OS X, Project Builder 2.0 (project can be downgraded) |
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
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14