Contents

init(for:)

Returns the class description for the specified class or, if it is not scriptable, for the first superclass that is.

Declaration

init?(for aClass: AnyClass)

Parameters

  • aClass:

    The class whose description is needed.

Return Value

The class description for the class specified by aClass or, if that class isn’t scriptable, for the class description for the first superclass that is. Returns nil if it doesn’t find a scriptable class.

See Also

Getting a Script Class Description