Properties

  • A property on a Swindler object.

    Property values are watched and cached in the background, so they are always available to read.

    Throws

    Only PropertyError errors are given for rejected promises.
    See more

    Declaration

    Swift

    public class Property<TypeSpec> where TypeSpec : PropertyTypeSpec
  • A property that can be set. Writes happen asynchronously.

    See more

    Declaration

    Swift

    public class WriteableProperty<TypeSpec> : Property<TypeSpec> where TypeSpec : PropertyTypeSpec
  • Specifies an error that occurred during a property read or write.

    See more

    Declaration

    Swift

    public enum PropertyError : Error