Foundation.NSObject: Method Members

The methods of Foundation.NSObject are listed below. For a list of all members, see the NSObject Members list.

See Also: Inherited members from System.Object

Public Methods

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(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.
AwakeFromNib()
Called after the object has been loaded from the nib file. Overriders must call base.AwakeFromNib().
BeginInvokeOnMainThread(Action)
Documentation for this section has not yet been entered.
BeginInvokeOnMainThread(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, 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(ObjCRuntime.Selector)
Indicates that this object does not recognize the specified selector.
Equals(NSObject) : bool
Documentation for this section has not yet been entered.
override
Equals(object) : bool
Documentation for this section has not yet been entered.
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.
override
GetHashCode() : int
Generates a hash code for the current instance.
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() : nuint
Documentation for this section has not yet been entered.
Init()
Documentation for this section has not yet been entered.
Invoke(Action, double)
Documentation for this section has not yet been entered.
Invoke(Action, TimeSpan)
Documentation for this section has not yet been entered.
static
InvokeInBackground(Action)
Documentation for this section has not yet been entered.
InvokeOnMainThread(Action)
Documentation for this section has not yet been entered.
InvokeOnMainThread(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(ObjCRuntime.Class) : bool
Documentation for this section has not yet been entered.
IsMemberOfClass(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(ObjCRuntime.Selector) : NSObject
Documentation for this section has not yet been entered.
PerformSelector(ObjCRuntime.Selector, NSObject) : NSObject
Documentation for this section has not yet been entered.
PerformSelector(ObjCRuntime.Selector, NSObject, NSObject) : NSObject
Documentation for this section has not yet been entered.
PerformSelector(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(ObjCRuntime.Selector, NSObject, double, NSString[])
Documentation for this section has not yet been entered.
PerformSelector(ObjCRuntime.Selector, NSThread, NSObject, bool)
Documentation for this section has not yet been entered.
PerformSelector(ObjCRuntime.Selector, NSThread, NSObject, bool, NSString[])
Documentation for this section has not yet been entered.
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(ObjCRuntime.Selector) : bool
Whether this object recognizes the specified selector.
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.