Obj-c Wrapper around NSOperation to be able to group them, chain them and make them mutually exclusive (From WWDC 2015 Advanced NSOperations)
IWOperation is the Obj-c implementation of the code presented at WWDC 2015's Advanced NSOperations ([https://developer.apple.com/videos/wwdc/2015/?id=226]).
It allows to create great apps in a flexible way, where all the business logic would be contained in a small unit. These units can be chained together, depend on other units and event be mutually exclusive.
For example, an application that would need to:
- download data
- parse data
- display data
would simply chain all these operations together and execute it as a unit.
For more information have a look at the WWDC 2015 talk about it.
There is 3 usable targets:
- a static lib
- a dynamic framework (iOS >= 8)
- a static framework
Right now all the used files need to be included. An Umbrella header would be handy
There is more coverage to do in the unit test
In the talk, an operation can create another operation.