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 moreNumberFormatterwith thenumberStyleset topercentDeclaration
Swift
public final class PercentFormatter : NumberFormatter -
A
See moreNumberFormatterwith thenegativeSuffixandpositiveSuffixproperties 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 : Formatterextension BasicProperty: Equatable where Value: Equatable -
Declaration
Swift
@dynamicMemberLookup public final class ReadOnlyProperty<Property> : AnyProperty where Property : AnyPropertyextension 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 moreBasePollingSourceyour subclass must implementManuallyUpdatablePropertiesProvider. This will addCustomisableUpdateIntervalSourceconformance 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
View on GitHub
Classes Reference