Tips and Tricks for writing better, more testable swift code.

Keeping your tests in a passing state can sometimes be a challenge. Just like your code needs maintenance, so do your tests!

You might introduce new code that changes the functionality of another piece of code. When this happens tests…


Tips and Tricks for writing better, more testable swift code.

The following article discusses one of my favorite techniques for writing testable code, specifically making the 3rd party frameworks and libraries you use abstract so that they can be mocked later for testing!

One problem we run into is testing…


Create a reusable search utility using generics and keypaths.

In this tutorial we are going to implement a search that returns search results that will be used as filters. It can be very useful when narrowing or filtering down a list of content by applying multiple filters (chips). This is a common pattern seen when implementing Search. …

Daniel Sedam

Problem Solver, UI/UX Enthusiast.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store