Deprecated NSPageLayout Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.5

accessoryView

Returns the receiver’s accessory view (used to customize the receiver). (Deprecated in OS X v10.5. Deprecated in OS X v10.5. Use accessoryControllers instead.)

- (NSView *)accessoryView
Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.5.
Declared In
NSPageLayout.h

readPrintInfo

Sets the receiver’s values to those stored in the NSPrintInfo object used when the receiver is run. (Deprecated in OS X v10.5. Deprecated in OS X v10.5. This method should not be invoked directly, so there is no replacement.)

- (void)readPrintInfo
Discussion

Do not invoke this method directly; it is invoked automatically before the receiver is displayed.

Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.5.
Declared In
NSPageLayout.h

setAccessoryView:

Adds a view object to the receiver. (Deprecated in OS X v10.5. Deprecated in OS X v10.5. Use addAccessoryController: instead.)

- (void)setAccessoryView:(NSView *)aView
Discussion

Invoke this method to add a custom view containing your controls. aView is added to the receiver’s Settings popup menu with your application’s name as its menu item. The receiver is automatically resized to accommodate aView. This method can be invoked repeatedly to change the accessory view depending on the situation. If aView is nil, then the receiver’s current accessory view, if any, is removed.

Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.5.
Declared In
NSPageLayout.h

writePrintInfo

Writes the receiver’s values to the NSPrintInfo object used when the receiver is run. (Deprecated in OS X v10.5. Deprecated in OS X v10.5. This method should not be invoked directly, so there is no replacement.)

- (void)writePrintInfo
Discussion

Do not invoke this method directly; it is invoked automatically when the receiver is dismissed.

Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.5.
Declared In
NSPageLayout.h