Instance Property

superclass

Returns the class description instance for the superclass of the receiver’s class.

Declaration

var superclass: NSScriptClassDescription? { get }

Return Value

A class description instance that describes the superclass of the receiver’s class. Returns nil if the class has no superclass.

Discussion

The instance of NSScriptClassDescription that describes the superclass can be in the same suite as the receiver or in a different suite.

See Also

Getting a Script Class Description

init?(for: AnyClass)

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

func forKey(String) -> NSScriptClassDescription?

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