Printing and Pagination Example
The example project, PaginationDemos, (available at www.cocoaprogramming.net) contains three application targets: AutomaticPagination, AdjustedPagination, and CustomPagination. These targets show different ways to use pagination.
The PaginationDemos application draws a representation of student’s desks in a classroom with their names and seat numbers labeled on each desk, as shown in Figure 25.6.
Figure 25.6. A single large view that displays images of student desks is shown unpaginated.
The desks are drawn by an NSView subclass called ClassDeskView. The ClassDeskView is instantiated inside the application’s ...
Get Cocoa® Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.