AtelierClockwork

Fully Operational

July 22, 2016

Network Operations with Less Fuss

After much fussing, I now have a working but incomplete Generic operation that handles fetching network data and parsing it. Getting all of the right behaviors exposed to KVO was interestingly fussy, but with it properly working I’m already thinking of new potential patterns to bring to my projects. In particular I now have cancelable network requests that then also cancel the dependent UI update that is fired when the request finishes. My next phase is going to be writing a Generic DependantOperation class that will capture the class of the network operation and allow it to have a completion without having to capture the operation before it in scope.