MonobjcMonobjc Documented Class Library
NSWindowController Constructor (windowNibName, owner)
NamespacesMonobjc.AppKitNSWindowControllerNSWindowController(NSString, Id)

Returns a window controller initialized with a nib file and a specified owner for that nib file.

Original signature is '- (id)initWithWindowNibName:(NSString *)windowNibName owner:(id)owner'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSWindowController(
	NSString windowNibName,
	Id owner
)
Public Sub New ( _
	windowNibName As NSString, _
	owner As Id _
)
public:
NSWindowController(
	NSString^ windowNibName, 
	Id^ owner
)
Parameters
windowNibName (NSString)
The name of the nib file (minus the “.nib” extension) that archives the receiver’s window; cannot be nil.
owner (Id)
The nib file's owner; cannot be nil.
Return Value
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)