Inherits from NSObject
Conforms to MMNetworkClientProtocol
Declared in MMNetworkClientProxy.h
MMNetworkClientProxy.m

Overview

  • A service layer that allows calls to the network

  • in order to retrieve information from the server.

  • This allows you to swap out the mechanism used to

  • retrieve information from a server. Currently, a

  • NSURLConnection is used to retrieve information

  • from a server.

Instance Methods

performNetworkRequest:completionHandler:

  • Represents the intent to retrieve data from
- (void)performNetworkRequest:(NSMutableURLRequest *)request completionHandler:(NetworkResponseBlock)completionBlock

Discussion

  • a server.

*

  • @param request The request object.

  • @param completionBlock The callback block that is

  •                   to be called when network call
    
  •                   returns.
    

Declared In

MMNetworkClientProtocol.h