---
title: "suite(forAppleEventCode:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsscriptsuiteregistry/suite(forappleeventcode:)"
---

# suite(forAppleEventCode:)

Returns the name of the suite definition associated with the given four-character Apple event code, code.

## Declaration

```swift
func suite(forAppleEventCode appleEventCode: FourCharCode) -> String?
```

## See Also

### Getting Suite Information

- [suiteNames](foundation/nsscriptsuiteregistry/suitenames.md)
