Designing a service layer with compound operations

Day 1 /  / Track 1  /  RU / For practicing engineers

The most common way to design a service layer of an app is to use GCD to create an asynchronous interaction of components. Many of us have thought of it, but much less really use all the power of NSOperation classes and NSOperationQueue to solve this task.

With the help of a thorough decomposition and a little bit of refinement of the indicated classes, you can get an extremely flexible and transportable component that will become your loyal friend in the creation of new services. Gleb will explain how the compound operations can be used in designing a service layer and how the COOperation framework he developed can help you with that.