Unarchives the contents of a nib file located in the receiver's bundle.
Original signature is '- (BOOL)loadNibFile:(NSString *)fileName externalNameTable:(NSDictionary *)context withZone:(NSZone *)zone'
Available in Mac OS X v10.0 and later.
|C#||Visual Basic||Visual C++|
public static bool LoadNibFileExternalNameTableWithZone( this NSBundle __target, NSString fileName, NSDictionary context, IntPtr zone )
<ExtensionAttribute> _ Public Shared Function LoadNibFileExternalNameTableWithZone ( _ __target As NSBundle, _ fileName As NSString, _ context As NSDictionary, _ zone As IntPtr _ ) As Boolean
- __target (NSBundle)
- The target instance.
- fileName (NSString)
- The name of the nib file, which need not include the .nib extension.
- context (NSDictionary)
- A name table whose keys identify objects associated with your program or the nib file. The newly unarchived objects from the nib file use this table to connect to objects in your program. For example, the nib file uses the object associated with the NSNibOwner constant as the nib file's owning object. If you associate an empty NSMutableArray object with the NSNibTopLevelObjects constant, on output, the array contains the top level objects from the nib file. For descriptions of these constants, see NSNib Class Reference.
- zone (IntPtr)
- The memory zone in which to allocate the nib file objects.
YES if the nib file was loaded successfully; otherwise, NO.
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.
Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)