iOS Guides | Samples

MonoTouch.UIKit.UINib Class

Represents an Interface Builder nib / xib file.

See Also: UINib

Syntax

[MonoTouch.Foundation.Register("UINib", true)]
public class UINib : NSObject

Remarks

The Interface Builder component of XCode stores its data in "nib files" ("xib files" are XML-formatted nib files). The UINib type can be used to cache the contents of the nib file in memory, allowing faster instantiation of multiple instances from a single nib file.

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UINib are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
static
ExternalObjectsKeyNSString. Represents the value associated with the constant UINibExternalObjects

Public Methods

static
FromData(NSData, NSBundle) : UINib
Factory method that loads a UINib from the specified data.
static
FromName(String, NSBundle) : UINib
Loads a UINib from the specified name. If bundleOrNil is null, the main bundle is searched.
Instantiate(NSObject, NSDictionary) : NSObject[]
Unarchives and initializes the in-memory contents of this UINib's nib file.
InstantiateWithOwneroptions(NSObject, NSDictionary) : NSObject[]
Unarchives and instantiates the in-memory contents of this UINib.