The Frontier logo The Frontier logo

How to use Swift's assertion functions?

In this screencast, we’ll learn how to use Swift’s assertion function to code defensively. By the end of this video, you’ll be able to use the assertion functions to help you write stronger, more robust code.

Questions we'll answer in this video:

- How can I ensure my code’s assumptions are correct?
- How can I enforce my code’s API constraints?
- What should I do to ensure I cover all possible paths of execution in my code?

For the More Curious...

Debugging and Reflection
BNR Guide to Swift
iOS & Swift Courses

Subscribers Only

Looks like you don't have an acocunt. Create an account today to access our collection of screencasts, skill packs, and more.

Subscribers Only

Looks like you don't have an acocunt. Create an account today to access our collection of screencasts, skill packs, and more.