Swift 3 Compatible

I’ve been making a lot of improvements to the Clean Swift Xcode Templates, but it’s taking a lot longer than I anticipated. In the meantime, I’ve upgraded the templates to be compatible with the latest Xcode 8 and Swift 3. You can now get back to work with your latest toolchain, without having to manually […]

Continue reading →

Better Models

This is a preview of one of the new features in the upcoming version 2 of my Clean Swift Xcode templates. The VIP cycle isolates your code dependency, while the models that are passed through the VIP cycle isolate your data dependency.

Continue reading →

Clean Swift TDD Part 2 – Interactor

In my TDD part 1 post, you wrote a test to make sure ListOrdersViewController invoke the fetchOrders() method of the ListOrdersInteractor. Now, it’s time to make the interactor does something with the request. You’ll also see exactly how to delegate the business logic of fetching orders from the interactor to the worker. Prepare the OrdersWorker […]

Continue reading →