Invoked by run
and run
to do any customization of the Page Layout panel page
, such as adding an accessory view.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
func preparePageLayout(_ pageLayout: NSPage Layout) -> Bool
Parameters
pageLayout
The page layout panel to prepare.
Return Value
true
if successfully prepared; otherwise, false
.
Discussion
The default implementation is empty and returns true
.