Classes

The following classes are available globally.

  • A basic implementation of a property whose value can be observed using callbacks.

    Example:
    
    var property = ObservableProperty(1)
    
    property.subscribe { newValue in
        print("newValue: \(newValue)")
    }
    
    property.value = 2
    
    // Executing the above code prints:
    // "newValue: 2"
    
    See more

    Declaration

    Swift

    public class ObservableProperty<ValueType>