MonobjcMonobjc Documented Class Library
LoadNibResourceNamedOwner Method (bundle, type, resourceName, owner)
NamespacesMonobjc.AppKitNSBundle_MonobjcAdditionsLoadNibResourceNamedOwner(NSBundle, Type, NSString, Id)

Unarchives the contents of the nib found in resources and links them to a specific owner object.

Declaration Syntax
C#Visual BasicVisual C++
public static bool LoadNibResourceNamedOwner(
	this NSBundle bundle,
	Type type,
	NSString resourceName,
	Id owner
<ExtensionAttribute> _
Public Shared Function LoadNibResourceNamedOwner ( _
	bundle As NSBundle, _
	type As Type, _
	resourceName As NSString, _
	owner As Id _
) As Boolean
static bool LoadNibResourceNamedOwner(
	NSBundle^ bundle, 
	Type^ type, 
	NSString^ resourceName, 
	Id^ owner
bundle (NSBundle)
The bundle.
type (Type)
The type whose assmelby contains the nib resource.
resourceName (NSString)
The name of the nib file, which need not include the .nib extension. The file name should not include path information. The object in the owner parameter determines the location in which to look for the nib file.
owner (Id)
The object to assign as the nib FIle's Owner. If the class of this object has an associated bundle, that bundle is searched for the specified nib file; otherwise, this method looks in the main bundle.
Return Value
YES if the nib file was loaded successfully; otherwise, NO.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type NSBundle. When you use instance method syntax to call this method, omit the first parameter.
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)