PerformanceContext
public struct PerformanceContext
Context of a performing environment, in which there are any number of performers and instruments. A performer can play one or more instruments, and an instrument can be played by one or more performers.
-
The identifier for the given
instrument, if it exists in thePerformanceContext. Otherwise,nil.Declaration
Swift
public func identifier(for instrument: Instrument) -> Instrument.ID? -
The instrument for the given
identifier, if it exists in thePerformanceContext. Otherwise,nil.Declaration
Swift
public func instrument(for identifier: Instrument.ID) -> Instrument?
-
A filter for constraining a view onto a
PerformanceContext.Declaration
Swift
public struct Filter -
Declaration
Swift
public func filtered(by filter: Filter) -> PerformanceContextReturn Value
A
PerformanceContextfiltered by the givenPerformanceContext.Filter.
-
A class which encapsulates the stateful construction of a
See morePerformanceContext.Declaration
Swift
public final class Builder
View on GitHub
Install in Dash
PerformanceContext Structure Reference