small medium large xlarge

14 Jul 2016, 05:25
Harsha Vardhan Hajjalara Narasimha Murthy (2 posts)

Hi Marcus

I am trying to fix an existing application design.

I have to make a large number of server call more than 100 as it is a big application, most of the response is XML

Suppose i have 16 server calls i need to make just to authenticate whether the server is found and then login should i create (PPRNetworkOperation ) for each authentication and login.

I didn’t understand how to go about n number of server calls.

Thanks, Harsha

14 Jul 2016, 15:06
Marcus S. Zarra (284 posts)

That sounds like a painful server design :/

Yes, I would have one operation per network call but I would also look for common code and roll that up to a base class between your subclasses and the NSOperation.

You must be logged in to comment