Classes

The following classes are available globally.

  • Helper class to support Swift ObjC interoperability when passing Any around from Swift to ObjC

    See more

    Declaration

    Swift

    public class AnyWrapper<T>
  • Helper class to support Swift ObjC interoperability when passing Any var around from Swift to ObjC and vice versa

    See more

    Declaration

    Swift

    public class AnyMutableWrapper<T>
  • BlockingVar blocks the [value.get] call until the [value.set] has set the value.

    Note: be aware of blocking the main-thread when the getter is invoked from the main-thread.

    See more

    Declaration

    Swift

    public class BlockingVar<T>
  • Thread-Safe variable wrapper.

    Makes sure the get and set are happening synchronously by using a Mutex for reader/writing to the wrapped value

    See more

    Declaration

    Swift

    public class SynchronizedVar<T>
  • A Collection similar to an array, but wraps its Elements in a WeakRef.

    See more

    Declaration

    Swift

    public class WeakArray<T>
  • Swift object that holds a weak reference to an Object like its Java counter-part WeakReference.

    See more

    Declaration

    Swift

    public class WeakRef<T> where T : AnyObject