MonobjcMonobjc Documented Class Library
NSWorkspace Class
NamespacesMonobjc.AppKitNSWorkspace

[Missing <summary> documentation for "T:Monobjc.AppKit.NSWorkspace"]

Declaration Syntax
C#Visual BasicVisual C++
public class NSWorkspace : NSObject
Public Class NSWorkspace _
	Inherits NSObject
public ref class NSWorkspace : public NSObject
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
NSWorkspace()()()()
Initializes a new instance of the NSWorkspace class.

NSWorkspace(IntPtr)
Initializes a new instance of the NSWorkspace class.

NSWorkspace(String, Object, array<Object>[]()[][])
Initializes a new instance of the NSWorkspace class.

AbsolutePathForAppBundleWithIdentifier(NSString)

Returns the absolute file-system path of an application bundle.

Original signature is '- (NSString *)absolutePathForAppBundleWithIdentifier:(NSString *)bundleIdentifier'

Available in Mac OS X v10.3 and later.


ActivateFileViewerSelectingURLs(NSArray)

Activates the Finder, and opens one or more windows selecting the specified files.

Original signature is '- (void)activateFileViewerSelectingURLs:(NSArray *)fileURLs'

Available in Mac OS X v10.6 and later.


ActiveApplication

Returns a dictionary with information about the current active application.

Original signature is '- (NSDictionary *)activeApplication'

Available in Mac OS X v10.2 and later.


AddObserverForKeyPathOptionsContext(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

Registers anObserver to receive KVO notifications for the specified key-path relative to the receiver.

Original signature is '- (void)addObserver:(NSObject *)anObserver forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
Alloc()()()()
Allocates a new native instance.
(Inherited from Id.)
AttributeKeys

Returns an array of NSString objects containing the names of immutable values that instances of the receiver's class contain.

Original signature is '- (NSArray *)attributeKeys'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
AutoContentAccessingProxy

Creates and returns an autoreleased proxy for the receiving object

Original signature is '- (id)autoContentAccessingProxy'

Available in Mac OS X v10.6 and later.

(Inherited from NSObject.)
Autorelease()()()()

Adds the receiver to the current autorelease pool.

Original signature is '- (id)autorelease'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
AwakeAfterUsingCoder(NSCoder)

Overridden by subclasses to substitute another object in place of the object that was decoded and subsequently received this message.

Original signature is '- (id)awakeAfterUsingCoder:(NSCoder *)aDecoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
BindToObjectWithKeyPathOptions(NSString, Id, NSString, NSDictionary)

Establishes a binding between a given property of the receiver and the property of a given object specified by a given key path.

Original signature is '- (void)bind:(NSString *)binding toObject:(id)observableController withKeyPath:(NSString *)keyPath options:(NSDictionary *)options'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
CastAs<(Of <<'(T>)>>)()()()()
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from Id.)
CastTo<(Of <<'(T>)>>)()()()()
Cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from Id.)
CheckForRemovableMedia()()()() Obsolete.

Polls the system’s drives for any disks that have been inserted but not yet mounted. (Deprecated in Mac OS X v10.6.)

Original signature is '- (void)checkForRemovableMedia'

Available in Mac OS X v10.0 and later.


Class

Gets the class of the underlying instance.

(Inherited from Id.)
ClassCode

Returns the receiver's Apple event type code, as stored in the NSScriptClassDescription object for the object’s class.

Original signature is '- (FourCharCode)classCode'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassDescription

Returns an object containing information about the attributes and relationships of the receiver’s class.

Original signature is '- (NSClassDescription *)classDescription'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassForArchiver

Overridden by subclasses to substitute a class other than its own during archiving.

Original signature is '- (Class)classForArchiver'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassForCoder

Overridden by subclasses to substitute a class other than its own during coding.

Original signature is '- (Class)classForCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassForKeyedArchiver

Overridden by subclasses to substitute a new class for instances during keyed archiving.

Original signature is '- (Class)classForKeyedArchiver'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ClassForPortCoder

Overridden by subclasses to substitute a class other than its own for distribution encoding.

Original signature is '- (Class)classForPortCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassName

Returns a string containing the name of the class.

Original signature is '- (NSString *)className'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
CoerceValueForKey(Id, NSString)

Uses type info from the class description and NSScriptCoercionHandler to attempt to convert value for key to the proper type, if necessary.

Original signature is '- (id)coerceValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ConformsToProtocol(IntPtr)

Returns a Boolean value that indicates whether the receiver conforms to a given protocol. (required)

Original signature is '- (BOOL)conformsToProtocol:(Protocol *)aProtocol'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Copy()()()()

Returns the object returned by copyWithZone:, where the zone is nil.

Original signature is '- (id)copy'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
CopyScriptingValueForKeyWithProperties(Id, NSString, NSDictionary)

Creates and returns one or more scripting objects to be inserted into the specified relationship by copying the passed-in value and setting the properties in the copied object or objects.

Original signature is '- (id)copyScriptingValue:(id)value forKey:(NSString *)key withProperties:(NSDictionary *)properties'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
Dealloc()()()()

Deallocates the memory occupied by the receiver.

Original signature is '- (void)dealloc'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Description

Returns a string that describes the contents of the receiver. (required)

Original signature is '- (NSString *)description'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
DesktopImageOptionsForScreen(NSScreen)

Returns the desktop image options for the given screen.

Original signature is '- (NSDictionary *)desktopImageOptionsForScreen:(NSScreen *)screen'

Available in Mac OS X v10.6 and later.


DesktopImageURLForScreen(NSScreen)

Returns the URL for the desktop image for the given screen.

Original signature is '- (NSURL *)desktopImageURLForScreen:(NSScreen *)screen'

Available in Mac OS X v10.6 and later.


DictionaryWithValuesForKeys(NSArray)

Returns a dictionary containing the property values identified by each of the keys in a given array.

Original signature is '- (NSDictionary *)dictionaryWithValuesForKeys:(NSArray *)keys'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
DidChangeValueForKey(NSString)

Invoked to inform the receiver that the value of a given property has changed.

Original signature is '- (void)didChangeValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
DidChangeValueForKeyWithSetMutationUsingObjects(NSString, NSKeyValueSetMutationKind, NSSet)

Invoked to inform the receiver that the specified change was made to a specified unordered to-many relationship.

Original signature is '- (void)didChangeValueForKey:(NSString *)key withSetMutation:(NSKeyValueSetMutationKind)mutationKind usingObjects:(NSSet *)objects'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
DidChangeValuesAtIndexesForKey(NSKeyValueChange, NSIndexSet, NSString)

Invoked to inform the receiver that the specified change has occurred on the indexes for a specified ordered to-many relationship.

Original signature is '- (void)didChange:(NSKeyValueChange)change valuesAtIndexes:(NSIndexSet *)indexes forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
Dispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Id.)
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from Id.)
DoesNotRecognizeSelector(IntPtr)

Handles messages the receiver doesn’t recognize.

Original signature is '- (void)doesNotRecognizeSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
DuplicateURLsCompletionHandler(NSArray, Action<(Of <<'(NSDictionary, NSError>)>>))

Duplicates the specified URLS asynchronously in the same manner as the Finder..

Original signature is '- (void)duplicateURLs:(NSArray *)URLs completionHandler:(void (^)(NSDictionary *newURLs, NSError *error))handler'

Available in Mac OS X v10.6 and later.


Equals(Id)
Indicates whether the current object is equal to another object of the same type.
(Inherited from Id.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Id.)
ExposedBindings

Returns an array containing the bindings exposed by the receiver.

Original signature is '- (NSArray *)exposedBindings'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ExtendPowerOffBy(NSInteger)

Requests the system wait for the specified amount of time before turning off the power or logging out the user.

Original signature is '- (NSInteger)extendPowerOffBy:(NSInteger)requested'

Available in Mac OS X v10.0 and later.


FileLabelColors

Returns the corresponding array of file label colors for the file labels.

Original signature is '- (NSArray *)fileLabelColors'

Available in Mac OS X v10.6 and later.


FileLabels

Returns the array of file labels as strings.

Original signature is '- (NSArray *)fileLabels'

Available in Mac OS X v10.6 and later.


FilenameExtensionIsValidForType(NSString, NSString)

Returns whether the specified filename extension is appropriate for the Uniform Type Identifier.

Original signature is '- (BOOL)filenameExtension:(NSString *)filenameExtension isValidForType:(NSString *)typeName'

Available in Mac OS X v10.5 and later.


FileSystemChanged Obsolete.

Returns a Boolean value indicating whether a change to the file system has been registered with a noteFileSystemChanged message since the last fileSystemChanged message. (Deprecated in Mac OS X v10.6.)

Original signature is '- (BOOL)fileSystemChanged'

Available in Mac OS X v10.0 and later.


Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the Id is reclaimed by garbage collection.
(Inherited from Id.)
FindApplications()()()() Obsolete.

Examines all applications and updates the records of registered services and file types. (Deprecated in Mac OS X v10.6.)

Original signature is '- (void)findApplications'

Available in Mac OS X v10.0 and later.


ForwardingTargetForSelector(IntPtr)

Returns the object to which unrecognized messages should first be directed.

Original signature is '- (id)forwardingTargetForSelector:(SEL)aSelector'

Available in Mac OS X v10.6 and later.

(Inherited from NSObject.)
ForwardInvocation(NSInvocation)

Overridden by subclasses to forward messages to other objects.

Original signature is '- (void)forwardInvocation:(NSInvocation *)anInvocation'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
FullPathForApplication(NSString)

Returns the full path for the specified application.

Original signature is '- (NSString *)fullPathForApplication:(NSString *)appName'

Available in Mac OS X v10.0 and later.


GetFileSystemInfoForPathIsRemovableIsWritableIsUnmountableDescriptionType(NSString, Boolean%, Boolean%, Boolean%, NSString%, NSString%)

Describes the file system at fullPath.

Original signature is '- (BOOL)getFileSystemInfoForPath:(NSString *)fullPath isRemovable:(BOOL *)removableFlag isWritable:(BOOL *)writableFlag isUnmountable:(BOOL *)unmountableFlag description:(NSString **)description type:(NSString **)fileSystemType'

Available in Mac OS X v10.0 and later.


GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Id.)
GetInfoForFileApplicationType(NSString, NSString%, NSString%)

Retrieves information about the specified file.

Original signature is '- (BOOL)getInfoForFile:(NSString *)fullPath application:(NSString **)appName type:(NSString **)type'

Available in Mac OS X v10.0 and later.


GetInstanceVariable<(Of <<'(T>)>>)(String)
Gets the instance variable of the specified name.
(Inherited from Id.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Hash

Returns an integer that can be used as a table address in a hash table structure. (required)

Original signature is '- (NSUInteger)hash'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
HideOtherApplications()()()()

Hides all applications other than the sender.

Original signature is '- (void)hideOtherApplications'

Available in Mac OS X v10.0 and later.


IconForFile(NSString)

Returns an image containing the icon for the specified file.

Original signature is '- (NSImage *)iconForFile:(NSString *)fullPath'

Available in Mac OS X v10.0 and later.


IconForFiles(NSArray)

Returns an image containing the icon for the specified files.

Original signature is '- (NSImage *)iconForFiles:(NSArray *)fullPaths'

Available in Mac OS X v10.0 and later.


IconForFileType(NSString)

Returns an image containing the icon for files of the specified type.

Original signature is '- (NSImage *)iconForFileType:(NSString *)fileType'

Available in Mac OS X v10.0 and later.


InfoForBinding(NSString)

Returns a dictionary describing the receiver’s binding.

Original signature is '- (NSDictionary *)infoForBinding:(NSString *)binding'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
Init()()()()

Implemented by subclasses to initialize a new object (the receiver) immediately after memory for it has been allocated.

Original signature is '- (id)init'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
InsertValueAtIndexInPropertyWithKey(Id, NSUInteger, NSString)

Inserts an object at the specified index in the collection specified by the passed key.

Original signature is '- (void)insertValue:(id)value atIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
InsertValueInPropertyWithKey(Id, NSString)

Inserts an object in the collection specified by the passed key.

Original signature is '- (void)insertValue:(id)value inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
InverseForRelationshipKey(NSString)

For a given key that defines the name of the relationship from the receiver’s class to another class, returns the name of the relationship from the other class to the receiver’s class.

Original signature is '- (NSString *)inverseForRelationshipKey:(NSString *)relationshipKey'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsEqual(Id)

Returns a Boolean value that indicates whether the receiver and a given object are equal. (required)

Original signature is '- (BOOL)isEqual:(id)anObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsFilePackageAtPath(NSString)

Determines whether the specified path is a file package.

Original signature is '- (BOOL)isFilePackageAtPath:(NSString *)fullPath'

Available in Mac OS X v10.0 and later.


IsKindOfClass(Class)

Returns a Boolean value that indicates whether the receiver is an instance of given class or an instance of any class that inherits from that class. (required)

Original signature is '- (BOOL)isKindOfClass:(Class)aClass'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsMemberOfClass(Class)

Returns a Boolean value that indicates whether the receiver is an instance of a given class. (required)

Original signature is '- (BOOL)isMemberOfClass:(Class)aClass'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsProxy

Returns a Boolean value that indicates whether the receiver does not descend from NSObject. (required)

Original signature is '- (BOOL)isProxy'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
LaunchApplication(NSString)

Launches the specified application.

Original signature is '- (BOOL)launchApplication:(NSString *)appName'

Available in Mac OS X v10.0 and later.


LaunchApplicationAtURLOptionsConfigurationError(NSURL, NSWorkspaceLaunchOptions, NSDictionary, NSError%)

Launches the app at the specified URL.

Original signature is '- (NSRunningApplication *)launchApplicationAtURL:(NSURL *)url options:(NSWorkspaceLaunchOptions)options configuration:(NSDictionary *)configuration error:(NSError **)error'

Available in Mac OS X v10.6 and later.


LaunchApplicationShowIconAutolaunch(NSString, Boolean, Boolean)

Launches the specified application using additional options.

Original signature is '- (BOOL)launchApplication:(NSString *)appName showIcon:(BOOL)showIcon autolaunch:(BOOL)autolaunch'

Available in Mac OS X v10.0 and later.


LaunchAppWithBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifier(NSString, NSWorkspaceLaunchOptions, NSAppleEventDescriptor, NSNumber%)

Launches the application corresponding to the specified bundleIdentifier.

Original signature is '- (BOOL)launchAppWithBundleIdentifier:(NSString *)bundleIdentifier options:(NSWorkspaceLaunchOptions)options additionalEventParamDescriptor:(NSAppleEventDescriptor *)descriptor launchIdentifier:(NSNumber **)identifier'

Available in Mac OS X v10.3 and later.


LaunchedApplications

Returns an array of dictionaries, one entry for each running application.

Original signature is '- (NSArray *)launchedApplications'

Available in Mac OS X v10.2 and later.


LocalizedDescriptionForType(NSString)

Returns the localized description for the specified Uniform Type Identifier

Original signature is '- (NSString *)localizedDescriptionForType:(NSString *)typeName'

Available in Mac OS X v10.5 and later.


MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MethodForSelector(IntPtr)

Locates and returns the address of the receiver’s implementation of a method so it can be called as a function.

Original signature is '- (IMP)methodForSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
MethodSignatureForSelector(IntPtr)

Returns an NSMethodSignature object that contains a description of the method identified by a given selector.

Original signature is '- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
MountedLocalVolumePaths

Returns the mount points of all local volumes, not just the removable ones returned by mountedRemovableMedia.

Original signature is '- (NSArray *)mountedLocalVolumePaths'

Available in Mac OS X v10.0 and later.


MountedRemovableMedia

Returns the full pathnames of all currently mounted removable disks.

Original signature is '- (NSArray *)mountedRemovableMedia'

Available in Mac OS X v10.0 and later.


MountNewRemovableMedia Obsolete.

Returns the full pathnames of any newly mounted disks. (Deprecated in Mac OS X v10.6.)

Original signature is '- (NSArray *)mountNewRemovableMedia'

Available in Mac OS X v10.0 and later.


MutableArrayValueForKey(NSString)

Returns a mutable array proxy that provides read-write access to an ordered to-many relationship specified by a given key.

Original signature is '- (NSMutableArray *)mutableArrayValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
MutableArrayValueForKeyPath(NSString)

Returns a mutable array that provides read-write access to the ordered to-many relationship specified by a given key path.

Original signature is '- (NSMutableArray *)mutableArrayValueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
MutableCopy()()()()

Returns the object returned by mutableCopyWithZone: where the zone is nil.

Original signature is '- (id)mutableCopy'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
MutableSetValueForKey(NSString)

Returns a mutable set proxy that provides read-write access to the unordered to-many relationship specified by a given key.

Original signature is '- (NSMutableSet *)mutableSetValueForKey:(NSString *)key'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
MutableSetValueForKeyPath(NSString)

Returns a mutable set that provides read-write access to the unordered to-many relationship specified by a given key path.

Original signature is '- (NSMutableSet *)mutableSetValueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
NativePointer
Gets or sets the native pointer.
(Inherited from Id.)
NewScriptingObjectOfClassForValueForKeyWithContentsValueProperties(Class, NSString, Id, NSDictionary)

Creates and returns an instance of a scriptable class, setting its contents and properties, for insertion into the relationship identified by the key.

Original signature is '- (id)newScriptingObjectOfClass:(Class)class forValueForKey:(NSString *)key withContentsValue:(id)contentsValue properties:(NSDictionary *)properties'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
NoteFileSystemChanged(NSString)

Informs the NSWorkspace object that the file system changed at the specified path.

Original signature is '- (void)noteFileSystemChanged:(NSString *)path'

Available in Mac OS X v10.0 and later.


NoteFileSystemChanged()()()() Obsolete.

Informs the NSWorkspace object that the file system has changed. (Deprecated in Mac OS X v10.6.)

Original signature is '- (void)noteFileSystemChanged'

Available in Mac OS X v10.0 and later.


NoteUserDefaultsChanged()()()() Obsolete.

Informs the NSWorkspace object that the defaults database has changed. (Deprecated in Mac OS X v10.6.)

Original signature is '- (void)noteUserDefaultsChanged'

Available in Mac OS X v10.0 and later.


NotificationCenter

Returns the notification center for workspace notifications.

Original signature is '- (NSNotificationCenter *)notificationCenter'

Available in Mac OS X v10.0 and later.


NSApplicationFileType

Cocoa application

Available in Mac OS X v10.0 and later.


NSDirectoryFileType

Directory

Available in Mac OS X v10.0 and later.


NSFilesystemFileType

File-system mount point

Available in Mac OS X v10.0 and later.


NSPlainFileType

Plain (untyped) file

Available in Mac OS X v10.0 and later.


NSShellCommandFileType

Executable shell command

Available in Mac OS X v10.0 and later.


NSWorkspaceActiveSpaceDidChangeNotification

Posted when a Spaces change has occurred.

The notification object is the shared NSWorkspace instance. The notification does not contain a userInfo dictionary.

Available in Mac OS X v10.6 and later.


NSWorkspaceApplicationKey

The value corresponding to this key is an instance of NSRunningApplication that reflects the affected application.

Available in Mac OS X v10.6 and later.


NSWorkspaceClass
Static field for a quick access to the NSWorkspace class.

NSWorkspaceCompressOperation

Compress file. This operation always returns an error.

Available in Mac OS X v10.0 and later.


NSWorkspaceCopyOperation

Copy file to destination. Behaves the same as copyPath:toPath:handler:.

Available in Mac OS X v10.0 and later.


NSWorkspaceDecompressOperation

Decompress file. This operation always returns an error.

Available in Mac OS X v10.0 and later.


NSWorkspaceDecryptOperation

Decrypt file. This operation always returns an error.

Available in Mac OS X v10.0 and later.


NSWorkspaceDesktopImageAllowClippingKey

The value is an NSNumber containing a BOOL, which affects the interpretation of Proportional scaling types. A NO value will make the image fully visible, but there may be empty space on the sides or top and bottom. A YES value will cause the image to fill the entire screen, but the image may be clipped. If this is not specified, NO is assumed. Non-proportional scaling types ignore this value.

Available in Mac OS X v10.6 and later.


NSWorkspaceDesktopImageFillColorKey

The value is an NSColor, which is used to fill any empty space around the image. If not specified, a default value is used. Currently, only colors that use or can be converted to use NSCalibratedRGBColorSpace are supported, and any alpha value is ignored.

Available in Mac OS X v10.6 and later.


NSWorkspaceDesktopImageScalingKey

The value is an NSNumber containing an NSImageScaling constant as declared in NSCell. If this is not specified, NSImageScaleProportionallyUpOrDown is used. NSImageScaleProportionallyDown is not currently supported.

Available in Mac OS X v10.6 and later.


NSWorkspaceDestroyOperation

Destroy file. Behaves the same as removeFileAtPath:handler:.

Available in Mac OS X v10.0 and later.


NSWorkspaceDidActivateApplicationNotification

Posted when the Finder is about to activate an application.

The notification object is the shared NSWorkspace instance. In Mac OS X v10.6 and later the userInfo dictionary contains the NSWorkspaceApplicationKey key with a corresponding instance of NSRunningApplication that represents the affected application.

Available in Mac OS X v10.6 and later.


NSWorkspaceDidChangeFileLabelsNotification

Posted when the Finder file labels or colors change.

The notification object is the shared NSWorkspace instance. The notification does not contain a userInfo dictionary.

Available in Mac OS X v10.6 and later.


NSWorkspaceDidDeactivateApplicationNotification

Posted when the Finder deactivated an application.

The notification object is the shared NSWorkspace instance. In Mac OS X v10.6 and later the userInfo dictionary contains the NSWorkspaceApplicationKey key with a corresponding instance of NSRunningApplication that represents the affected application.

Available in Mac OS X v10.6 and later.


NSWorkspaceDidHideApplicationNotification

Posted when the Finder hid an application.

The notification object is the shared NSWorkspace instance. In Mac OS X v10.6 and later the userInfo dictionary contains the NSWorkspaceApplicationKey key with a corresponding instance of NSRunningApplication that represents the affected application.

Available in Mac OS X v10.6 and later.


NSWorkspaceDidLaunchApplicationNotification

Posted when a new application has started up.

The notification object is the shared NSWorkspace instance. In Mac OS X v10.6 and later the userInfo dictionary contains the NSWorkspaceApplicationKey key with a corresponding instance of NSRunningApplication that represents the affected application.

In Mac OS X v10.5 and earlier the userInfo dictionary contains the keys and values described in Table 1.

Available in Mac OS X v10.0 and later.


NSWorkspaceDidMountNotification

Posted when a new device has been mounted.

The notification object is the shared NSWorkspace instance.

In Mac OS X v10.5 and earlier the userInfo dictionary contains a key @"NSDevicePath" that returns the path where the device was mounted, as a string.

Available in Mac OS X v10.0 and later.


NSWorkspaceDidPerformFileOperationNotification

Posted when a file operation has been performed in the receiving application.

The notification object is the shared NSWorkspace instance. The userInfo dictionary contains a key @"NSOperationNumber" with a NSNumber object containing an integer indicating the type of file operation

Available in Mac OS X v10.0 and later.


NSWorkspaceDidRenameVolumeNotification

Posted when a volume changes its name and/or mount path. These typically change simultaneously, in which case only one notification is posted.

The notification object is the shared NSWorkspace instance. The userInfo dictionary contains keys in “NSWorkspaceDidRenameVolumeNotification User Info Keys” and “Volume Mounting Notification User Info Keys.”

Available in Mac OS X v10.6 and later.


NSWorkspaceDidTerminateApplicationNotification

Posted when an application finishes executing.

The notification object is the shared NSWorkspace instance. In Mac OS X v10.6 and later the userInfo dictionary contains the NSWorkspaceApplicationKey key with a corresponding instance of NSRunningApplication that represents the affected application.

In Mac OS X v10.5 and earlier the userInfo dictionary contains the keys and values described in Table 1.

Available in Mac OS X v10.0 and later.


NSWorkspaceDidUnhideApplicationNotification

Posted when the Finder unhid an application.

The notification object is the shared NSWorkspace instance. In Mac OS X v10.6 and later the userInfo dictionary contains the NSWorkspaceApplicationKey key with a corresponding instance of NSRunningApplication that represents the affected application.

Available in Mac OS X v10.6 and later.


NSWorkspaceDidUnmountNotification

Posted when the Finder did unmount a device.

This notification is delivered even if a volume was forcibly and immediately made unavailable, such as when a drive is simply unplugged.

The notification object is the shared NSWorkspace instance. The userInfo dictionary contains a key @"NSDevicePath" that returns the path where the device was mounted, as a string.

Available in Mac OS X v10.0 and later.


NSWorkspaceDidWakeNotification

Posted when the machine wakes from sleep.

The notification object is the shared NSWorkspace instance. The notification does not contain a userInfo dictionary.

Available in Mac OS X v10.3 and later.


NSWorkspaceDuplicateOperation

Duplicate file in source directory.

Available in Mac OS X v10.0 and later.


NSWorkspaceEncryptOperation

Encrypt file. This operation always returns an error.

Available in Mac OS X v10.0 and later.


NSWorkspaceLaunchConfigurationAppleEvent

The value is the first NSAppleEventDescriptor to send to the new application. If an instance of the application is already running, this is sent to that application.

Available in Mac OS X v10.6 and later.


NSWorkspaceLaunchConfigurationArchitecture

The value is an NSNumber containing an Mach-O Architecture constant. Ignored if a new instance of the application is not launched.

Available in Mac OS X v10.6 and later.


NSWorkspaceLaunchConfigurationArguments

The value is an NSArray of NSStrings, passed to the new application in the argv parameter. Ignored if a new instance of the application is not launched.

Available in Mac OS X v10.6 and later.


NSWorkspaceLaunchConfigurationEnvironment

The value is an NSDictionary, mapping NSStrings to NSStrings, containing environment variables to set for the new app. Ignored if a new instance of the application is not launched.

Available in Mac OS X v10.6 and later.


NSWorkspaceLinkOperation

Create hard link to file in destination. Behaves the same as linkPath:toPath:handler:.

Available in Mac OS X v10.0 and later.


NSWorkspaceMoveOperation

Move file to destination. Behaves the same as movePath:toPath:handler:.

Available in Mac OS X v10.0 and later.


NSWorkspaceRecycleOperation

Move file to trash. The file is moved to the trash folder on the volume containing the file using the same semantics as NSWorkspaceMoveOperation. If a file with the same name currently exists in the trash folder, the new file is renamed. If no trash folder exists on the volume containing the file, the operation fails.

Available in Mac OS X v10.0 and later.


NSWorkspaceScreensDidSleepNotification

Posted when the machine’s screen goes to sleep.

The notification object is the shared NSWorkspace instance. The notification does not contain a userInfo dictionary.

Few applications are likely to be interested in this notification, but they may be useful for certain hardware-based drawing decisions, for example when using OpenGL.

Available in Mac OS X v10.6 and later.


NSWorkspaceScreensDidWakeNotification

Posted when the machine’s screens wake.

The notification object is the shared NSWorkspace instance. The notification does not contain a userInfo dictionary.

Few applications are likely to be interested in this notification, but they may be useful for certain hardware-based drawing decisions, for example when using OpenGL.

Available in Mac OS X v10.6 and later.


NSWorkspaceSessionDidBecomeActiveNotification

Posted after a user session is switched in.

The notification object is the shared NSWorkspace instance. The notification does not contain a userInfo dictionary.

Available in Mac OS X v10.3 and later.


NSWorkspaceSessionDidResignActiveNotification

Posted before a user session is switched out.

The notification object is the shared NSWorkspace instance. The notification does not contain a userInfo dictionary.

If an application is launched in an inactive session, NSWorkspaceSessionDidResignActiveNotification is sent after NSApplicationWillFinishLaunchingNotification and before sending NSApplicationDidFinishLaunchingNotification.

Available in Mac OS X v10.3 and later.


NSWorkspaceVolumeLocalizedNameKey

NSString containing the user-visible name of the volume.

Available in Mac OS X v10.6 and later.


NSWorkspaceVolumeOldLocalizedNameKey

NSString containing the old user-visible name of the volume

Available in Mac OS X v10.6 and later.


NSWorkspaceVolumeOldURLKey

NSURL containing the old mount path of the volume

Available in Mac OS X v10.6 and later.


NSWorkspaceVolumeURLKey

NSURL containing the mount path of the volume.

Available in Mac OS X v10.6 and later.


NSWorkspaceWillLaunchApplicationNotification

Posted when the Finder is about to launch an application.

The notification object is the shared NSWorkspace instance. In Mac OS X v10.6 and later the userInfo dictionary contains the NSWorkspaceApplicationKey key with a corresponding instance of NSRunningApplication that represents the affected application.

In Mac OS X v10.5 and earlier the userInfo dictionary contains the keys and values described in Table 1.

Available in Mac OS X v10.0 and later.


NSWorkspaceWillPowerOffNotification

Posted when the user has requested a logout or that the machine be powered off.

The notification object is the shared NSWorkspace instance. This notification does not contain a userInfo dictionary.

Available in Mac OS X v10.0 and later.


NSWorkspaceWillSleepNotification

Posted before the machine goes to sleep.

The notification object is the shared NSWorkspace instance. The notification does not contain a userInfo dictionary.

Available in Mac OS X v10.3 and later.


NSWorkspaceWillUnmountNotification

Posted when the Finder is about to unmount a device.

This notification will not be delivered if a volume was forcibly and immediately made unavailable, such as when a FireWire drive is simply unplugged, because there is no chance to deliver it before the volume becomes unavailable.

The notification object is the shared NSWorkspace instance. The userInfo dictionary contains a key @"NSDevicePath" that returns the path where the device was mounted, as a string.

Available in Mac OS X v10.0 and later.


ObservationInfo

Returns a pointer that identifies information about all of the observers that are registered with the receiver.

Original signature is '- (void *)observationInfo'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ObserveValueForKeyPathOfObjectChangeContext(NSString, Id, NSDictionary, IntPtr)

This message is sent to the receiver when the value at the specified key path relative to the given object has changed.

Original signature is '- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
OpenFile(NSString)

Opens the specified file specified using the default application associated with its type.

Original signature is '- (BOOL)openFile:(NSString *)fullPath'

Available in Mac OS X v10.0 and later.


OpenFileFromImageAtInView(NSString, NSImage, NSPoint, NSView)

Opens a file using the default application for its type and animates the action using a custom icon.

Original signature is '- (BOOL)openFile:(NSString *)fullPath fromImage:(NSImage *)anImage at:(NSPoint)point inView:(NSView *)aView'

Available in Mac OS X v10.0 and later.


OpenFileWithApplication(NSString, NSString)

Opens a file using the specified application.

Original signature is '- (BOOL)openFile:(NSString *)fullPath withApplication:(NSString *)appName'

Available in Mac OS X v10.0 and later.


OpenFileWithApplicationAndDeactivate(NSString, NSString, Boolean)

Opens the specified file and optionally deactivates the sending application.

Original signature is '- (BOOL)openFile:(NSString *)fullPath withApplication:(NSString *)appName andDeactivate:(BOOL)flag'

Available in Mac OS X v10.0 and later.


OpenTempFile(NSString) Obsolete.

Opens the specified temporary file using the default application for its type. (Deprecated in Mac OS X v10.6.)

Original signature is '- (BOOL)openTempFile:(NSString *)fullPath'

Available in Mac OS X v10.0 and later.


OpenURL(NSURL)

Opens the location at the specified URL.

Original signature is '- (BOOL)openURL:(NSURL *)url'

Available in Mac OS X v10.0 and later.


OpenURLsWithAppBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifiers(NSArray, NSString, NSWorkspaceLaunchOptions, NSAppleEventDescriptor, NSArray%)

Opens one or more files from an array of URLs.

Original signature is '- (BOOL)openURLs:(NSArray *)urls withAppBundleIdentifier:(NSString *)bundleIdentifier options:(NSWorkspaceLaunchOptions)options additionalEventParamDescriptor:(NSAppleEventDescriptor *)descriptor launchIdentifiers:(NSArray **)identifiers'

Available in Mac OS X v10.3 and later.


OptionDescriptionsForBinding(NSString)

Returns an array describing the options for the specified binding.

Original signature is '- (NSArray *)optionDescriptionsForBinding:(NSString *)binding'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformFileOperationSourceDestinationFilesTag(NSString, NSString, NSString, NSArray, NSInteger%)

Performs a file operation on a set of files in a particular directory.

Original signature is '- (BOOL)performFileOperation:(NSString *)operation source:(NSString *)source destination:(NSString *)destination files:(NSArray *)files tag:(NSInteger *)tag'

Available in Mac OS X v10.0 and later.


PerformSelector(IntPtr)

Sends a specified message to the receiver and returns the result of the message. (required)

Original signature is '- (id)performSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorInBackgroundWithObject(IntPtr, Id)

Invokes a method of the receiver on a new background thread.

Original signature is '- (void)performSelectorInBackground:(SEL)aSelector withObject:(id)arg'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelectorOnMainThreadWithObjectWaitUntilDone(IntPtr, Id, Boolean)

Invokes a method of the receiver on the main thread using the default mode.

Original signature is '- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
PerformSelectorOnMainThreadWithObjectWaitUntilDoneModes(IntPtr, Id, Boolean, NSArray)

Invokes a method of the receiver on the main thread using the specified modes.

Original signature is '- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait modes:(NSArray *)array'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
PerformSelectorOnThreadWithObjectWaitUntilDone(IntPtr, NSThread, Id, Boolean)

Invokes a method of the receiver on the specified thread using the default mode.

Original signature is '- (void)performSelector:(SEL)aSelector onThread:(NSThread *)thr withObject:(id)arg waitUntilDone:(BOOL)wait'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelectorOnThreadWithObjectWaitUntilDoneModes(IntPtr, NSThread, Id, Boolean, NSArray)

Invokes a method of the receiver on the specified thread using the specified modes.

Original signature is '- (void)performSelector:(SEL)aSelector onThread:(NSThread *)thr withObject:(id)arg waitUntilDone:(BOOL)wait modes:(NSArray *)array'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelectorWithObject(IntPtr, Id)

Sends a message to the receiver with an object as the argument. (required)

Original signature is '- (id)performSelector:(SEL)aSelector withObject:(id)anObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorWithObjectAfterDelay(IntPtr, Id, Double)

Invokes a method of the receiver on the current thread using the default mode after a delay.

Original signature is '- (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorWithObjectAfterDelayInModes(IntPtr, Id, Double, NSArray)

Invokes a method of the receiver on the current thread using the specified modes after a delay.

Original signature is '- (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay inModes:(NSArray *)modes'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorWithObjectWithObject(IntPtr, Id, Id)

Sends a message to the receiver with two objects as arguments. (required)

Original signature is '- (id)performSelector:(SEL)aSelector withObject:(id)anObject withObject:(id)anotherObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PreferredFilenameExtensionForType(NSString)

Returns the preferred filename extension for the specified Uniform Type Identifier.

Original signature is '- (NSString *)preferredFilenameExtensionForType:(NSString *)typeName'

Available in Mac OS X v10.5 and later.


RecycleURLsCompletionHandler(NSArray, Action<(Of <<'(NSDictionary, NSError>)>>))

Moves the specified URLs to the trash in the same manner a the Finder.

Original signature is '- (void)recycleURLs:(NSArray *)URLs completionHandler:(void (^)(NSDictionary *newURLs, NSError *error))handler'

Available in Mac OS X v10.6 and later.


Release()()()()

Decrements the receiver�s reference count.

Original signature is '- (oneway void)release'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
RemoveObserverForKeyPath(NSObject, NSString)

Stops a given object from receiving change notifications for the property specified by a given key-path relative to the receiver.

Original signature is '- (void)removeObserver:(NSObject *)anObserver forKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
RemoveValueAtIndexFromPropertyWithKey(NSUInteger, NSString)

Removes the object at the specified index from the collection specified by the passed key.

Original signature is '- (void)removeValueAtIndex:(NSUInteger)index fromPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplacementObjectForArchiver(NSArchiver)

Overridden by subclasses to substitute another object for itself during archiving.

Original signature is '- (id)replacementObjectForArchiver:(NSArchiver *)anArchiver'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplacementObjectForCoder(NSCoder)

Overridden by subclasses to substitute another object for itself during encoding.

Original signature is '- (id)replacementObjectForCoder:(NSCoder *)aCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplacementObjectForKeyedArchiver(NSKeyedArchiver)

Overridden by subclasses to substitute another object for itself during keyed archiving.

Original signature is '- (id)replacementObjectForKeyedArchiver:(NSKeyedArchiver *)archiver'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ReplacementObjectForPortCoder(NSPortCoder)

Overridden by subclasses to substitute another object or a copy for itself during distribution encoding.

Original signature is '- (id)replacementObjectForPortCoder:(NSPortCoder *)aCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplaceValueAtIndexInPropertyWithKeyWithValue(NSUInteger, NSString, Id)

Replaces the object at the specified index in the collection specified by the passed key.

Original signature is '- (void)replaceValueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key withValue:(id)value'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
RespondsToSelector(IntPtr)

Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message. (required)

Original signature is '- (BOOL)respondsToSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
RespondsToSelector(String)

Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message.

Original signature is '- (BOOL)respondsToSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Retain()()()()

Increments the receiver�s reference count.

Original signature is '- (id)retain'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
RetainCount

Returns the receiver’s reference count. (required)

Original signature is '- (NSUInteger)retainCount'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
RunningApplications

Returns an array of NSRunningApplication representing the running applications.

Original signature is '- (NSArray *)runningApplications'

Available in Mac OS X v10.6 and later.


SafeCastAs<(Of <<'(TInstance>)>>)(Id)
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from IdExtensions.)
SafeCastTo<(Of <<'(TInstance>)>>)(Id)
Cast the current instance to the given type. the cast is dynamically tested for safety
(Inherited from IdExtensions.)
SafeRelease(Id)

Performs a safe release operation on the given instance.

The equivalent code is:

CopyC#
if (instance != null) instance.Release();
(Inherited from IdExtensions.)
ScriptingProperties

Returns an NSString-keyed dictionary of the receiver's scriptable properties.

Original signature is '- (NSDictionary *)scriptingProperties'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ScriptingValueForSpecifier(NSScriptObjectSpecifier)

Given an object specifier, returns the specified object or objects in the receiving container.

Original signature is '- (id)scriptingValueForSpecifier:(NSScriptObjectSpecifier *)objectSpecifier'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
SelectFileInFileViewerRootedAtPath(NSString, NSString)

Selects the file specified by fullPath.

Original signature is '- (BOOL)selectFile:(NSString *)fullPath inFileViewerRootedAtPath:(NSString *)rootFullPath'

Available in Mac OS X v10.0 and later.


Self

Returns the receiver. (required)

Original signature is '- (id)self'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
SendMessage(String, array<Object>[]()[][])
Sends a message to this receiver (either a Class or an object instance).
(Inherited from Id.)
SendMessageSuper(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

(Inherited from Id.)
SendMessageSuperVarArgs(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from Id.)
SendMessageVarArgs(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from Id.)
SetDesktopImageURLForScreenOptionsError(NSURL, NSScreen, NSDictionary, NSError%)

Sets the desktop image for the given screen to the image at the specified URL.

Original signature is '- (BOOL)setDesktopImageURL:(NSURL *)url forScreen:(NSScreen *)screen options:(NSDictionary *)options error:(NSError **)error'

Available in Mac OS X v10.6 and later.


SetIconForFileOptions(NSImage, NSString, NSWorkspaceIconCreationOptions)

Sets the icon for the file or directory at the specified path.

Original signature is '- (BOOL)setIcon:(NSImage *)image forFile:(NSString *)fullPath options:(NSWorkspaceIconCreationOptions)options'

Available in Mac OS X v10.4 and later.


SetInstanceVariable<(Of <<'(T>)>>)(String, T)
Sets the instance variable of the specified name.
(Inherited from Id.)
SetNilValueForKey(NSString)

Invoked by setValue:forKey: when it’s given a nil value for a scalar value (such as an int or float).

Original signature is '- (void)setNilValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Id, NSString)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(String, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Int16, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Int64, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Int32, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Single, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Double, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Char, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Boolean, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKeyPath(Id, NSString)

Sets the value for the property identified by a given key path to a given value.

Original signature is '- (void)setValue:(id)value forKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForUndefinedKey(Id, NSString)

Invoked by setValue:forKey: when it finds no property for a given key.

Original signature is '- (void)setValue:(id)value forUndefinedKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValuesForKeysWithDictionary(NSDictionary)

Sets properties of the receiver with values from a given dictionary, using its keys to identify the properties.

Original signature is '- (void)setValuesForKeysWithDictionary:(NSDictionary *)keyedValues'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SharedWorkspace

Returns the shared NSWorkspace instance.

Original signature is '+ (NSWorkspace *)sharedWorkspace'

Available in Mac OS X v10.0 and later.


ShowSearchResultsForQueryString(NSString)

Displays a Spotlight search results window in Finder for the specified query string.

Original signature is '- (BOOL)showSearchResultsForQueryString:(NSString *)queryString'

Available in Mac OS X v10.6 and later.


SlideImageFromTo(NSImage, NSPoint, NSPoint) Obsolete.

Animates a sliding image from one point to another. (Deprecated in Mac OS X v10.6.)

Original signature is '- (void)slideImage:(NSImage *)image from:(NSPoint)fromPoint to:(NSPoint)toPoint'

Available in Mac OS X v10.0 and later.


Superclass

Returns the class object for the receiver’s superclass. (required)

Original signature is '- (Class)superclass'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ToManyRelationshipKeys

Returns array containing the keys for the to-many relationship properties of the receiver.

Original signature is '- (NSArray *)toManyRelationshipKeys'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ToOneRelationshipKeys

Returns the keys for the to-one relationship properties of the receiver, if any.

Original signature is '- (NSArray *)toOneRelationshipKeys'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ToString()()()()
Returns a String that represents this instance.
(Overrides NSObject.ToString()()()().)
TypeConformsToType(NSString, NSString)

Returns a Boolean indicating that the first Uniform Type Identifier conforms to the second Uniform Type Identifier.

Original signature is '- (BOOL)type:(NSString *)firstTypeName conformsToType:(NSString *)secondTypeName'

Available in Mac OS X v10.5 and later.


TypeOfFileError(NSString, NSError%)

Returns the uniform type identifier of the specified file, if it can be determined..

Original signature is '- (NSString *)typeOfFile:(NSString *)absoluteFilePath error:(NSError **)outError'

Available in Mac OS X v10.5 and later.


Unbind(NSString)

Removes a given binding between the receiver and a controller.

Original signature is '- (void)unbind:(NSString *)binding'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
UnmountAndEjectDeviceAtPath(NSString)

Unmounts and ejects the device at the specified path.

Original signature is '- (BOOL)unmountAndEjectDeviceAtPath:(NSString *)path'

Available in Mac OS X v10.0 and later.


UnmountAndEjectDeviceAtURLError(NSURL, NSError%)

Attempts to eject the volume mounted at the given path.

Original signature is '- (BOOL)unmountAndEjectDeviceAtURL:(NSURL *)url error:(NSError **)error'

Available in Mac OS X v10.6 and later.


URLForApplicationToOpenURL(NSURL)

Returns the URL to the default application that would be used to open the given URL.

Original signature is '- (NSURL *)URLForApplicationToOpenURL:(NSURL *)url'

Available in Mac OS X v10.6 and later.


URLForApplicationWithBundleIdentifier(NSString)

Returns the URL for the application with the specified identifier.

Original signature is '- (NSURL *)URLForApplicationWithBundleIdentifier:(NSString *)bundleIdentifier'

Available in Mac OS X v10.6 and later.


UserDefaultsChanged Obsolete.

Returns a Boolean value indicating whether a change to the defaults database has been registered with a noteUserDefaultsChanged message since the last userDefaultsChanged message. (Deprecated in Mac OS X v10.6.)

Original signature is '- (BOOL)userDefaultsChanged'

Available in Mac OS X v10.0 and later.


ValidateValueForKeyError(Id%, NSString, NSError%)

Returns a Boolean value that indicates whether the value specified by a given pointer is valid for the property identified by a given key.

Original signature is '- (BOOL)validateValue:(id *)ioValue forKey:(NSString *)key error:(NSError **)outError'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValidateValueForKeyPathError(Id%, NSString, NSError%)

Returns a Boolean value that indicates whether the value specified by a given pointer is valid for a given key path relative to the receiver.

Original signature is '- (BOOL)validateValue:(id *)ioValue forKeyPath:(NSString *)inKeyPath error:(NSError **)outError'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValueAtIndexInPropertyWithKey(NSUInteger, NSString)

Retrieves an indexed object from the collection specified by the passed key.

Original signature is '- (id)valueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ValueClassForBinding(NSString)

Returns the class of the value that will be returned for the specified binding.

Original signature is '- (Class)valueClassForBinding:(NSString *)binding'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValueForKey(NSString)

Returns the value for the property identified by a given key.

Original signature is '- (id)valueForKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ValueForKeyPath(NSString)

Returns the value for the derived property identified by a given key path.

Original signature is '- (id)valueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ValueForUndefinedKey(NSString)

Invoked by valueForKey: when it finds no property corresponding to a given key.

Original signature is '- (id)valueForUndefinedKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValueWithNameInPropertyWithKey(NSString, NSString)

Retrieves a named object from the collection specified by the passed key.

Original signature is '- (id)valueWithName:(NSString *)name inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ValueWithUniqueIDInPropertyWithKey(Id, NSString)

Retrieves an object by ID from the collection specified by the passed key.

Original signature is '- (id)valueWithUniqueID:(id)uniqueID inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
WillChangeValueForKey(NSString)

Invoked to inform the receiver that the value of a given property is about to change.

Original signature is '- (void)willChangeValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
WillChangeValueForKeyWithSetMutationUsingObjects(NSString, NSKeyValueSetMutationKind, NSSet)

Invoked to inform the receiver that the specified change is about to be made to a specified unordered to-many relationship.

Original signature is '- (void)willChangeValueForKey:(NSString *)key withSetMutation:(NSKeyValueSetMutationKind)mutationKind usingObjects:(NSSet *)objects'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
WillChangeValuesAtIndexesForKey(NSKeyValueChange, NSIndexSet, NSString)

Invoked to inform the receiver that the specified change is about to be executed at given indexes for a specified ordered to-many relationship.

Original signature is '- (void)willChange:(NSKeyValueChange)change valuesAtIndexes:(NSIndexSet *)indexes forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
Zone

Returns a pointer to the zone from which the receiver was allocated. (required)

Original signature is '- (NSZone *)zone'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Inheritance Hierarchy
Object
Id
 NSObject
  NSWorkspace
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)