We can describe how you interact with RestKit by looking at the following sample sequence diagram for getting data:
When you, as a
Caller, wish to get data from a
Remote web service, you ask for it on RestKit. It then decides on a strategy and gets the paths and mapping information by checking a configuration for the particular type of objects that you want. RestKit uses AFNetworking under the hood to do the actual data retrieving from the Remote and parsing in to
NSArray. AFNetworking itself checks with NSURLCache if it should make a request again, or use the cache. (We'll discuss this ...