attributeDescriptor(forKeyword:)
Returns a descriptor for the receiver’s Apple event attribute identified by the specified keyword.
Declaration
func attributeDescriptor(forKeyword keyword: AEKeyword) -> NSAppleEventDescriptor?Parameters
- keyword:
A keyword (a four-character code) that identifies the descriptor to obtain.
Return Value
The attribute descriptor for the specified keyword, or nil if an error occurs.
Discussion
The receiver must be an Apple event.