Instance Property

stringWithSavedFrame

A string representation of the window’s frame rectangle.

Declaration

@property(readonly, copy) NSWindowPersistableFrameDescriptor stringWithSavedFrame;

Discussion

The value of this property is a string that can be used in a later call to setFrameFromString:.

See Also

Managing Window Frames in User Defaults

+ removeFrameUsingName:

Removes the frame data stored under a given name from the application’s user defaults.

- setFrameUsingName:

Sets the window’s frame rectangle by reading the rectangle data stored under a given name from the defaults system.

- setFrameUsingName:force:

Sets the window’s frame rectangle by reading the rectangle data stored under a given name from the defaults system. Can operate on non-resizable windows.

- saveFrameUsingName:

Saves the window’s frame rectangle in the user defaults system under a given name.

frameAutosaveName

The name used to automatically save the window’s frame rectangle data in the defaults system.

- setFrameFromString:

Sets the window’s frame rectangle from a given string representation.