Contents

forKey(_:)

Returns the class description instance for the class type of the specified attribute or relationship.

Declaration

func forKey(_ key: String) -> NSScriptClassDescription?

Parameters

  • key:

    The identifying key for an attribute or relationship of the receiver.

Return Value

The instance of NSScriptClassDescription for the type of the attribute or relationship specified by key. Returns nil if no scriptable property corresponds to key.

See Also

Getting a Script Class Description