UADisposable

@interface UADisposable : NSObject

A convenience class for creating self-referencing cancellation tokens.

Note

It is left up to the creator to determine what is disposed of and under what circumstances. This includes threading and memory management concerns.
  • Dispose of associated resources.

    Declaration

    Objective-C

    - (void)dispose;

    Swift

    func dispose()