---
title: superclass
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsscriptclassdescription/superclass
---

# superclass

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

## Declaration

```swift
var superclass: NSScriptClassDescription? { get }
```

## Return Value

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

## Discussion

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:)](foundation/nsscriptclassdescription/init(for:).md)
- [forKey(_:)](foundation/nsscriptclassdescription/forkey(_:).md)
