Contents

setFrameAutosaveName(_:)

Sets the name AppKit uses to automatically save the window’s frame rectangle data in the defaults system.

Declaration

func setFrameAutosaveName(_ name: NSWindow.FrameAutosaveName) -> Bool

Parameters

  • name:

    The name to use for the window’s frame rectangle.

Return Value

true if the specified name is acceptable and another window isn’t already using it; otherwise, false.

See Also

Managing Window Frames in User Defaults