# API glossary

Source: https://libtmux.org/en/swift/latest/reference/glossary/

> Kinds, modifiers and package labels in the Swift API reference.

## Symbol kinds

Kinds identify declarations in the Swift API reference.

### class

A Swift reference type whose instances can share identity and whose subclasses can inherit behavior.

References: [Swift classes](https://docs.swift.org/latest/documentation/the-swift-programming-language/classesandstructures/).

### interface

A Swift protocol declaring requirements for conforming types, shown with the interface badge.

References: [Swift protocols](https://docs.swift.org/latest/documentation/the-swift-programming-language/protocols/).

### struct

A Swift value type copied when assigned or passed. Reference-valued properties can still share objects.

References: [Swift structures](https://docs.swift.org/latest/documentation/the-swift-programming-language/classesandstructures/).

### enum

A Swift type with named cases, which can carry associated values or have raw values.

References: [Swift enumerations](https://docs.swift.org/latest/documentation/the-swift-programming-language/enumerations/).

### function

A Swift callable declared with func, using parameter names, argument labels and a result type.

References: [Swift functions](https://docs.swift.org/latest/documentation/the-swift-programming-language/functions/).

### method

A Swift function associated with a class, structure or enumeration.

Instance methods use a value; type methods are called on the type. mutating permits changes to a value-type receiver.

References: [Swift methods](https://docs.swift.org/latest/documentation/the-swift-programming-language/methods/).

### property

A Swift stored or computed member, declared with let or var as applicable.

Computed properties use accessors; their value need not be stored.

References: [Swift properties](https://docs.swift.org/latest/documentation/the-swift-programming-language/properties/).

### constant

A Swift binding declared with let, or a named enum case in this reference.

A let binding cannot be reassigned, but a referenced class instance may remain mutable.

References: [Swift constants](https://docs.swift.org/latest/documentation/the-swift-programming-language/thebasics/).

### typealias

A Swift name for an existing type, without defining a new distinct type.

References: [Swift type aliases](https://docs.swift.org/latest/documentation/the-swift-programming-language/declarations/#Type-Alias-Declaration).

## Modifiers

Modifiers add information about calling, implementing, or accessing a declaration. Their precise effect follows the language and the signature.

### static

A Swift member called or accessed on its type. Class members declared with class can allow subclass overrides.

References: [Swift type methods](https://docs.swift.org/latest/documentation/the-swift-programming-language/methods/).

### async

A Swift asynchronous function that can suspend at await points, without promising a particular thread.

References: [Swift concurrency](https://docs.swift.org/latest/documentation/the-swift-programming-language/concurrency/).

### overload

Swift declarations sharing a base name, distinguished by their argument labels, types and applicable context.

References: [Swift function declarations](https://docs.swift.org/latest/documentation/the-swift-programming-language/functions/).

### inherited

A Swift member supplied by a superclass. The reference identifies its original declaring type.

References: [Swift inheritance](https://docs.swift.org/latest/documentation/the-swift-programming-language/inheritance/).

## Package context

Package labels identify where an API is supplied.

### package

The Swift package supplying products built from modules and targets. Package and module names serve different roles.

References: [Swift packages](https://www.swift.org/documentation/package-manager/).
