Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

API glossary

On this page

Kinds, modifiers and package labels in the Swift API reference. Select an annotation or full API badge to open its definition here.

The signature and entry documentation describe the API’s behavior, including its calling conventions, storage and runtime checks.

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 .

interface

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

References: Swift protocols .

struct

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

References: Swift structures .

enum

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

References: Swift enumerations .

function

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

References: Swift 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 .

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 .

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 .

typealias

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

References: Swift type aliases .

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 .

async

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

References: Swift concurrency .

overload

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

References: Swift function declarations .

inherited

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

References: Swift 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 .

Glossary JSON

Esc
Search in

Type to search.

Reference previewOpen reference