Back to Feed
Video youtube

Protocol Optionals | Swift Language Basics | Swift 4, Xcode 9

Today we go over what protocol optionals are, how to implement them, and some of their drawbacks, using Swift 4. First we go over the general structure of creating protocol optionals since they aren't exactly straight forward. Next, we dive into the implementation of optional protocols and the side effects of not adding specific implementation for properties and methods. Lastly, we go over the problems of exposing the objective c runtime (objc) into your project with protocols.

Occasionally, th

Watch on YouTube