Classes
The following classes are available globally.
-
Declaration
Swift
public final class BoolFormatter : Formatter
-
A formatter that returns strings as-is.
See moreDeclaration
Swift
public final class PassthroughFormatter : Formatter
-
A
See moreNumberFormatter
with thenumberStyle
set topercent
Declaration
Swift
public final class PercentFormatter : NumberFormatter
-
A
See moreNumberFormatter
with thenegativeSuffix
andpositiveSuffix
properties set to “x”Declaration
Swift
public final class ScaleFormatter : NumberFormatter
-
Declaration
Swift
public final class SizeFormatter : Formatter
-
Declaration
Swift
@propertyWrapper public final class MeasurementProperty<Unit> : UpdatableProperty, Equatable where Unit : Unit
-
Declaration
Swift
@propertyWrapper public final class OptionalMeasurementProperty<Unit> : UpdatableProperty, Equatable where Unit : Unit
-
Declaration
Swift
@propertyWrapper open class BasicProperty<Value, Formatter> : UpdatableProperty where Formatter : Formatter
extension BasicProperty: Equatable where Value: Equatable
-
Declaration
Swift
@dynamicMemberLookup public final class ReadOnlyProperty<Property> : AnyProperty where Property : AnyProperty
extension ReadOnlyProperty: PropertiesProviding where Property: PropertiesProviding
-
A base class that can be used to create sources that can only be polled for updates.
To benefit from
See moreBasePollingSource
your subclass must implementManuallyUpdatablePropertiesProvider
. This will addCustomisableUpdateIntervalSource
conformance via an extension.Declaration
Swift
open class BasePollingSource : UpdatingSource
-
A source provider that contains a single source
See moreDeclaration
Swift
public final class SingleSourceProvider<Source> : SourceProvider where Source : Source
-
Declaration
Swift
public final class UnitMagneticField : Dimension