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

Category: Uncategorized

Uncategorized

How to slim down your viewDidLoad() method

Posted on March 6, 2018 by Raymond / 1 Comment

You’ve probably seen a bloated viewDidLoad() method that’s doing eight different things such as: Fetch data over the network Display the data in the...

Uncategorized

Advanced Dependency Injection

Posted on January 18, 2018 by Raymond / 32 Comments

In my last post, I showed you how to use setter dependency injection to mock an Apple built-in class by: Creating a super simple test double by hand Extracting ...

Uncategorized

Book Bundle Pricing

Posted on January 9, 2018 by Raymond / 0 Comment

The pricing for my books individually, and as a bundle, have changed. So the following post doesn’t apply anymore. Please refer to The Clean Swift Handboo...

Uncategorized

How to mock an Apple built-in class

Posted on January 3, 2018 by Raymond / 2 Comments

The MKMapItem class is an Apple built-in class. How do I make sure the openInMaps(launchOptions:) method is being invoked on MKMapItem when I test the displayRo...

Uncategorized

MVC doesn’t lend itself well to unit testing

Posted on December 18, 2017 by Raymond / 0 Comment

Every beginning iOS developer learns to build their first app using MVC because that’s the way it is taught in guides and tutorials. But as the app evolves out ...

Posts pagination

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