You should control your dependencies

Episode Clip • Free • Jan 6, 2023

This is the outro of episode #218 where we discuss how adding complex effects to our app made it a lot more interesting, but has also made the code base more difficult to work with. Previews no longer work as well as they used to because things like the Speech framework don’t work in previews. And tests are going to be difficult to write due to accessing the file system and Speech framework, and using timers is going to slow down our test suite.

The solution to these problems is to control your dependencies!

https://www.pointfree.co/episodes/ep218-modern-swiftui-effects-part-2


Subscribe to Point-Free

👋 Hey there! If you got this far, then you must have enjoyed this post. You may want to also check out Point-Free, a video series covering advanced programming topics in Swift. Consider subscribing today!