Other Functions
The following functions are available globally.
-
Helper function to ensure that the callback is executed on the main thread.
Declaration
Swift
public func callOnMainThread(_ callback: (() -> Void))