Skip to content
Clean Swift
Clean Architecture + TDD. Code less. Test more.
  • Handbook
  • Testing
  • Mentorship
  • Store
  • Services
  • Work
  • Blog
  • About

Tag: Swift

Uncategorized

Refactoring table view data source and delegate methods

Posted on December 15, 2015 by Raymond / 22 Comments

Tired of MVC? But MVVM and VIPER don’t feel quite right? There are reasons for it. Code dependence. Data dependence. Unidirectional flow of control. Just to nam...

Uncategorized

Clean Swift TDD Part 5 – Complete the VIP Cycle

Posted on December 2, 2015 by Raymond / 28 Comments

In my last post, you learned how to test your presenter and format data properly for display. We also introduced a new displayFetchedOrders() method in the view...

Uncategorized

Clean Swift TDD Part 4 – Presenter

Posted on November 26, 2015 by Raymond / 0 Comment

In this post, you’ll complete the VIP cycle by testing the presenter for the fetch orders use case. You can read about my previous posts on testing the view con...

Uncategorized

Clean Swift TDD Part 3 – Worker

Posted on November 18, 2015 by Raymond / 13 Comments

In part 1 and part 2, you tested the ListOrdersViewController and ListOrdersInteractor, respectively. But we left it kind of hanging because we mocked out the O...

Uncategorized

Clean Swift TDD Part 2 – Interactor

Posted on November 10, 2015 by Raymond / 6 Comments

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 mak...

Posts navigation

« Previous 1 2 3 4 Next »
© 2023 Clean Swift LLC. All rights reserved. Privacy and Terms.
Powered by WordPress | Theme: Graphy by Themegraphy