VONetworkManager

@interface VONetworkManager : NSObject <VONetworkManagerProtocol>

VONetworkManager is the default implementation of the VONetworkManagerProtocol. It is used to handle any network requests. It also handles some authentication. Internally uses AFNetworking to complete requests.

  • Default initializer for VONetworkManager.

    Declaration

    Objective-C

    + (nonnull instancetype)networkManagerWithBuilder:
        (nonnull void (^)(NetworkManagerBuilder *_Nonnull))builderBlock;

    Swift

    convenience init(builder builderBlock: @escaping (NetworkManagerBuilder) -> Void)

    Parameters

    builderBlock

    - block used to set any variables necessary for creating the VONetworkManager.

    Return Value

    Instance of VONetworkManager.