Classes

The following classes are available globally.

  • Box

    Generic container

    See more

    Declaration

    Swift

    public class Box<T> where T : Initializable
  • Dynamically dispatching Max object

    See more

    Declaration

    Swift

    public class MaxDispatcher
  • Extra wrap for logging

    disabled in Release

    See more

    Declaration

    Swift

    public class MaxLogger
  • Stub for possible class composition

    See more

    Declaration

    Swift

    public class CompositeMaxObject : MaxObject
  • Undocumented

    See more

    Declaration

    Swift

    public class CompositeMaxIO : MaxIOComponent
  • Create a window with title and SwiftUI View inside.

    NB show/hide calls are thread-safe

    See more

    Declaration

    Swift

    public class CustomWindow<Content> where Content : View
  • ObservableObject wrapper for MaxBinding

    See more

    Declaration

    Swift

    public final class MaxStateObserver<T> : ObservableObject where T : Equatable
  • Max Attribute wrapper (R/W)

    See more

    Declaration

    Swift

    @propertyWrapper
    public class Attribute<T> : MaxIOComponent where T : MaxAttributeValue

    Parameters

    style

    display style in Inspector

    label

    label in Inspector, optional

    name

    name to be used within object & Inspector

    transitional

    if true, value is not stored within Max patch

  • Max Outlet component

    NB default is always inlet 0

    See more

    Declaration

    Swift

    public class Outlet<T> : MaxIOComponent
  • Local state storage for MaxObject

    Used with MaxBinding by Outlet() object

    See more

    Declaration

    Swift

    @propertyWrapper
    public class MaxState<T> : MaxIOComponent where T : Equatable