Skip to Main Content
Mac OSX Developer's Guide
book

Mac OSX Developer's Guide

by Jesse Feiler
October 2001
Intermediate to advanced content levelIntermediate to advanced
594 pages
21h 44m
English
Morgan Kaufmann
Content preview from Mac OSX Developer's Guide
532 9 Chapter 25: Printing
out. Once you have done this, your application's print info ob-
ject will have the data that you have specified in your view
(and that your user has selected).
Java:
public void setAccessoryView(NSView aView;
Objective-C:
- (void) setAccessoryView- (NSView *) aView;
PDF and Clipboard Support
It is often the case that you need to produce a PDF version of
your view.
PDFOperationWithViewInsideRect
creates a
print operation that you can then run to transform a view into
PDF and returns it in an NSMutableData object. You can then
place that on the clipboard as you will see in next section.
Here is the basic ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

OSX Mavericks Essentials

OSX Mavericks Essentials

Wiley
Beginning Mac OS® X Programming

Beginning Mac OS® X Programming

Michael Trent, Drew McCormack
Cocoa in a Nutshell

Cocoa in a Nutshell

Michael Beam, James Duncan Davidson
Cocoa Programming for OS X: The Big Nerd Ranch Guide

Cocoa Programming for OS X: The Big Nerd Ranch Guide

Aaron Hillegass, Adam Preble, Nate Chandler

Publisher Resources

ISBN: 9780122513411