Deprecated SBApplication Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Available in OS X v10.5 through OS X v10.5

classNamesForCodes

Returns a dictionary mapping four-character class codes to the names of their corresponding Objective-C classes. (Available in OS X v10.5 through OS X v10.5.)

- (NSDictionary *)classNamesForCodes
Return Value

A dictionary whose keys are four-character class codes of the external application (as NSNumber objects), and whose values are the names of the corresponding SBObject subclasses.

Discussion

The default implementation returns an empty dictionary. Application-specific subclasses return dictionaries tailored to the types of objects they support.

You should never call this method directly.

Availability
  • Available in OS X v10.5 through OS X v10.5.
Declared In
SBApplication.h

codesForPropertyNames

Returns a dictionary mapping property keys to their corresponding four-character codes. (Available in OS X v10.5 through OS X v10.5.)

- (NSDictionary *)codesForPropertyNames
Return Value

A dictionary whose keys are the keys of properties of the external application, and whose values are the corresponding four-character codes (as NSNumber objects).

Discussion

The default implementation returns an empty dictionary. Application-specific subclasses return dictionaries tailored to the types of objects they support.

You should never call this method directly.

Availability
  • Available in OS X v10.5 through OS X v10.5.
Declared In
SBApplication.h