Episode #427

Validation Property Wrappers

19 minutes
Published on February 6, 2020

This video is only available to subscribers. Get access to this video and 586 others.

Property wrappers are turning out to be super useful! In this video we'll look at an open-source library called ValidatedPropertyKit, which gives you property wrappers for validating user input. With it you can check for ranges, non-empty strings, regular expressions, or extend it with your own.

This episode uses Validatedpropertykit 0.0.3, Xcode 11.3.1, Swift 5.1.