Contents

property(with:code:)

Returns an object of the designated scripting class representing the specified property of the receiver

Declaration

func property(with cls: AnyClass, code: AEKeyword) -> SBObject

Parameters

  • code:

    A four-character code that uniquely identifies a property of the receiver.

Return Value

An instance of the designated class that represents the receiver’s property identified by code.

Discussion

SBObject subclasses use this method to implement application-specific property accessor methods. You should not need to call this method directly.

See Also

Getting Properties and Elements