Swift Assertions

By John Daub on May 21, 2018


About

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

Transcript

Transcripts are only available for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Downloads

Project files are only available for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Comments