Mac OS X Reference Library Apple Developer
Search

Deprecated SBApplication Methods

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

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

classNamesForCodes

Returns a dictionary mapping four-character class codes to the names of their corresponding Objective-C classes. (Available in Mac OS X v10.5 through Mac 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 Mac OS X v10.5 through Mac OS X v10.5.
Declared In
SBApplication.h

codesForPropertyNames

Returns a dictionary mapping property keys to their corresponding four-character codes. (Available in Mac OS X v10.5 through Mac 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 Mac OS X v10.5 through Mac OS X v10.5.
Declared In
SBApplication.h



Last updated: 2007-05-29

Did this document help you? Yes It's good, but... Not helpful...