---
title: "init(containerClassDescription:containerSpecifier:key:name:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/nsnamespecifier/init(containerclassdescription:containerspecifier:key:name:)"
---

# init(containerClassDescription:containerSpecifier:key:name:)

Invokes the super class’s init(containerClassDescription:containerSpecifier:key:) method and then sets the name instance variable to name.

## Declaration

```swift
init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, name: String)
```

## See Also

### Related Documentation

- [Cocoa Scripting Guide](apple-archive/documentation/Cocoa/Conceptual/ScriptableCocoaApplications/SApps_intro/SAppsIntro.html.md)
