Platforms to show: All Mac Windows Linux Cross-Platform

NSWindowControllerMBS class

Superclass: NSResponderMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa MBS MacBase Plugin 13.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
An NSWindowController object manages a window, usually a window stored in a nib file.
Example
// let macOS remember position and size of a window between launches
// ControllerForWindow is a property of the window: ControllerForWindow As NSWindowControllerMBS
ControllerForWindow = New NSWindowControllerMBS(Self.NSWindowMBS)
ControllerForWindow.shouldCascadeWindows = False
ControllerForWindow.windowFrameAutosaveName = "MainWindow"

Please read Apple's documentation for details:
https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindowController_Class/Reference/Reference.html
Subclass of the NSResponderMBS class.

Superclass NSResponderMBS

Sub classes:

Blog Entries

Some properties using this class:

Some related classes:


The items on this page are in the following plugins: MBS Bluetooth Plugin, MBS MacBase Plugin.


NSVoiceMBS   -   NSWindowDelegateMBS


The biggest plugin in space...