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

Tag: iOS

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

Organizing source code files by type vs intent

Posted on August 25, 2017 by Raymond / 3 Comments

All of us have certainly seen source code files being organized by types. There’s a group named View Controllers, a group named Models, a group named View...

Uncategorized

Full routing analysis

Posted on August 15, 2017 by Raymond / 9 Comments

Last time, we looked at the route from the ListOrders scene to the ShowOrder scene in details. This time, we’ll examine all the routes from all the scenes in th...

Uncategorized

Error handling in a Clean Architecture

Posted on August 8, 2017 by Raymond / 2 Comments

Today, you’ll learn a lot about how to handle errors in a Clean Architecture. As you’ll see from a conversation I had with Łukasz, there’re both complexities an...

Uncategorized

Improved routing and data passing

Posted on July 25, 2017 by Raymond / 21 Comments

Routing in Clean Swift is the one thing that I wanted to improve the most from the previous version. I’ll walk through a specific, concrete use case first...

Posts pagination

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