Conclusion

Heads up... You're reading this book for free, with parts of this chapter shown beyond this point as scrambled text.

Conclusion

After completing this lesson, you now know how to apply your knowledge of protocols to SwiftUI to make flexible, powerful views.

Specifically, you learned:

  • How to create a view using protocols to make the view reusable.
  • How to conform to protocols to make your types conform to SwiftUI’s View protocol.
  • How to use POP to make it easy to switch out different parts of your code.
  • How to provide an implementation for protocols to use in your views.
See forum comments
Download course materials from Github
Previous: Demo 2 Next: Quiz: Protocol-Orientated Programming & SwiftUI