Is there a design pattern for iOS to consume data from a web-service?

1

I'm looking for a design pattern that will help standardize the construction of an iOS app that consumes data coming from a web service.

Could you tell if there is the name of this development model?

    
asked by anonymous 19.09.2014 / 21:51

1 answer

1

Short answer: No. Long answer: You have several ways to do this, there are two frameworks that greatly help with client vs. server integration on iOS.

Both have a clean pattern design but it will not get you plastered, ie if you want to use your own pattern but want to use these frameworks to abstract the heaviest work of networking, you can do it well.

I particularly like the NSURLSession , because it gives you enough flexibility to build your own interface with the server and leave it the way you want, without trying so hard.

    
08.10.2014 / 22:01