MonoTouch.Foundation.NSObject Members

The members of MonoTouch.Foundation.NSObject are listed below.

See Also: Inherited members from System.Object

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
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.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Fields

static readonly
MonoTouchAssemblySystem.Reflection.Assembly. Points to the montoouch assembly.

Protected Fields

IsDirectBindingbool. Determines whether this class is a direct binding to an Objective-C class, or if this is a subclass of a direct binding.

Public Properties

[read-only]
static
ChangeIndexesKeyNSString. Represents the value associated with the constant NSKeyValueChangeIndexesKey
[read-only]
static
ChangeKindKeyNSString. Represents the value associated with the constant NSKeyValueChangeKindKey
[read-only]
static
ChangeNewKeyNSString. Represents the value associated with the constant NSKeyValueChangeNewKey
[read-only]
static
ChangeNotificationIsPriorKeyNSString. Notification constant for ChangeNotificati
[read-only]
static
ChangeOldKeyNSString. Represents the value associated with the constant NSKeyValueChangeOldKey
[read-only]
ClassMonoTouch.ObjCRuntime.Class. Documentation for this section has not yet been entered.
[read-only]
ClassHandleIntPtr. The handle for this class.
[read-only]
DebugDescriptionstring. A developer-meaningful description of this object.
[read-only]
Descriptionstring. Description of the object, the Objective-C version of ToString.
HandleIntPtr. Handle (pointer) to the unmanaged object representation.
[read-only]
IsProxybool. Documentation for this section has not yet been entered.
[read-only]
RetainCountint. Returns the current Objective-C retain count for the object.
[read-only]
SelfNSObject. Documentation for this section has not yet been entered.
[read-only]
SuperclassMonoTouch.ObjCRuntime.Class. Documentation for this section has not yet been entered.
[read-only]
SuperHandleIntPtr. Handle used to represent the methods in the base class for this NSObject.
[read-only]
ZoneNSZone. Documentation for this section has not yet been entered.

Public Methods

AccessibilityDecrement()
AccessibilityIncrement()
AccessibilityScroll(MonoTouch.UIKit.UIAccessibilityScrollDirection) : bool
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>) : IDisposable
Registers an object for being observed externally using an arbitrary method.
AddObserver(string, NSKeyValueObservingOptions, Action<NSObservedChange>) : IDisposable
Registers an object for being observed externally using an arbitrary method.
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)
Registers an object for being observed externally (using NSString keyPath).   Observed changes are dispatched to the observer’s object NSObject.ObserveValue method.
AddObserver(NSObject, string, NSKeyValueObservingOptions, IntPtr)
Registers an object for being observed externally (using string keyPath).   Observed changes are dispatched to the observer’s object NSObject.ObserveValue method.
static
Alloc(MonoTouch.ObjCRuntime.Class) : NSObject
Documentation for this section has not yet been entered.
static
AutomaticallyNotifiesObserversForKey(string) : bool
Whether this object is providing key-value notifications for the specified key.
Autorelease() : NSObject
[Dangerous] Invokes the low-level Objective-C autorelease method on the object.
AwakeFromNib()
Called after the object has been loaded from the nib file. Overriders must call base.AwakeFromNib().
BeginInvokeOnMainThread(NSAction)
Invokes asynchrously the specified code on the main UI thread.
BeginInvokeOnMainThread(MonoTouch.ObjCRuntime.Selector, NSObject)
Invokes asynchrously the specified code on the main UI thread.
static
CancelPreviousPerformRequest(NSObject)
Cancels a pending time-delayed Invoke or PerformSelector.
static
CancelPreviousPerformRequest(NSObject, MonoTouch.ObjCRuntime.Selector, NSObject)
Cancels a pending time-delayed PerformSelector.
ConformsToProtocol(IntPtr) : bool
Invoked to determine if this object implements the specified protocol.
Copy() : NSObject
Performs a copy of the underlying Objective-C object.
DangerousAutorelease() : NSObject
Documentation for this section has not yet been entered.
DangerousRelease()
Documentation for this section has not yet been entered.
DangerousRetain() : NSObject
Documentation for this section has not yet been entered.
DidChange(NSKeyValueChange, NSIndexSet, NSString)
Indicates a change occurred to the indexes for a to-many relationship.
DidChange(NSString, NSKeyValueSetMutationKind, NSSet)
Documentation for this section has not yet been entered.
DidChangeValue(string)
Indicates that a change occurred on the specified key.
Dispose()
Releases the resources used by the NSObject object.
DoesNotRecognizeSelector(MonoTouch.ObjCRuntime.Selector)
Indicates that this object does not recognize the specified selector.
EncodeTo(NSCoder)
Encodes the state of the object on the provided encoder
Finalize()
Finalizer for the NSObject object
static
FromObject(object) : NSObject
Boxes an object into an NSObject.
GetDictionaryOfValuesFromKeys(NSString[]) : NSDictionary
Retrieves the values of the specified keys.
static
GetKeyPathsForValuesAffecting(NSString) : NSSet
The key paths whose values affect the value of the specified key.
GetNativeField(string) : NSObject
Documentation for this section has not yet been entered.
GetNativeHash() : uint
Documentation for this section has not yet been entered.
Init()
Documentation for this section has not yet been entered.
Invoke(NSAction, double)
Documentation for this section has not yet been entered.
Invoke(NSAction, TimeSpan)
Documentation for this section has not yet been entered.
static
InvokeInBackground(NSAction)
Invokes supplied code on a new background thread.
InvokeOnMainThread(NSAction)
Invokes synchronously the specified code on the main UI thread.
InvokeOnMainThread(MonoTouch.ObjCRuntime.Selector, NSObject)
Invokes synchrously the specified code on the main UI thread.
IsEqual(NSObject) : bool
Documentation for this section has not yet been entered.
IsKindOfClass(MonoTouch.ObjCRuntime.Class) : bool
Documentation for this section has not yet been entered.
IsMemberOfClass(MonoTouch.ObjCRuntime.Class) : bool
Documentation for this section has not yet been entered.
static
IsNewRefcountEnabled() : bool
Internal -- Determines whether MonoTouch is using the new toggle-reference system or not
MutableCopy() : NSObject
Creates a mutable copy of the specified NSObject.
ObserveValue(NSString, NSObject, NSDictionary, IntPtr)
Indicates that the value at the specified keyPath relative to this object has changed.
PerformSelector(MonoTouch.ObjCRuntime.Selector) : NSObject
Documentation for this section has not yet been entered.
PerformSelector(MonoTouch.ObjCRuntime.Selector, NSObject) : NSObject
Documentation for this section has not yet been entered.
PerformSelector(MonoTouch.ObjCRuntime.Selector, NSObject, NSObject) : NSObject
Documentation for this section has not yet been entered.
PerformSelector(MonoTouch.ObjCRuntime.Selector, NSObject, double)
Invokes the selector on the current instance and if the obj is not null, it passes this as its single parameter.
PerformSelector(MonoTouch.ObjCRuntime.Selector, NSObject, float)
Invokes the selector on the current instance and if the obj is not null, it passes this as its single parameter.
PerformSelector(MonoTouch.ObjCRuntime.Selector, NSObject, double, NSString[])
Documentation for this section has not yet been entered.
PerformSelector(MonoTouch.ObjCRuntime.Selector, NSThread, NSObject, bool)
Documentation for this section has not yet been entered.
PerformSelector(MonoTouch.ObjCRuntime.Selector, NSThread, NSObject, bool, NSString[])
Documentation for this section has not yet been entered.
Release()
[Dangerous] Invokes the low-level Objective-C release method on the object.
RemoveObserver(NSObject, NSString)
Stops the specified observer from receiving further notifications of changed values for the specified keyPath.
RemoveObserver(NSObject, string)
Stops the specified observer from receiving further notifications of changed values for the specified keyPath.
RemoveObserver(NSObject, NSString, IntPtr)
Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context.
RemoveObserver(NSObject, string, IntPtr)
Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context.
RespondsToSelector(MonoTouch.ObjCRuntime.Selector) : bool
Whether this object recognizes the specified selector.
Retain() : NSObject
This will send the Objective-C 'retain' message to the object.
SetNativeField(string, NSObject)
Documentation for this section has not yet been entered.
SetNilValueForKey(NSString)
Sets the value of the specified key to null.
SetValueForKey(NSObject, NSString)
Sets the value of the property specified by the key to the specified value.
SetValueForKeyPath(NSObject, NSString)
Sets the value of a property that can be reached using a keypath.
SetValueForKeyPath(IntPtr, NSString)
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.
SetValueForUndefinedKey(NSObject, NSString)
Indicates an attempt to write a value to an undefined key. If not overridden, raises an NSUndefinedKeyException.
SetValuesForKeysWithDictionary(NSDictionary)
Sets the values of this NSObject to those in the specified dictionary.
override
ToString() : string
Returns a string representation of the value of the current instance.
ValueForKey(NSString) : NSObject
Returns the value of the property associated with the specified key.
ValueForKeyPath(NSString) : NSObject
Returns the value of a property that can be reached using a keypath.
ValueForUndefinedKey(NSString) : NSObject
Indicates an attempt to read a value of an undefined key. If not overridden, raises an NSUndefinedKeyException.
WillChange(NSKeyValueChange, NSIndexSet, NSString)
Indicates that the values of the specified indices in the specified key are about to change.
WillChange(NSString, NSKeyValueSetMutationKind, NSSet)
Documentation for this section has not yet been entered.
WillChangeValue(string)
Indicates that the value of the specified key is about to change.

Protected Methods

Dispose(bool)
Releases the resources used by the NSObject object.
InitializeHandle(IntPtr)
Documentation for this section has not yet been entered.
InitializeHandle(IntPtr, string)
Documentation for this section has not yet been entered.
MarkDirty()
Promotes a regular peer object (IsDirectBinding is true) into a toggleref object.