Blog
Library

Getting Started with Protocols in Swift

Understand the advantages of using protocols in your code, explore the basic and advanced features of protocols, define protocols in order to represent powerful and reusable concepts in your code, create and use generic functions and types in Swift, and use generics with protocols in order to write powerful and flexible generic code.

Features Includes:
  • Self-paced with Life Time Access
  • Certificate on Completion
  • Access on Android and iOS App

Course Preview Video

Description

An introduction to Swift protocols with step-by-step instructions on how to create and use them.

Using right protocols can transform the way you write Swift code. Building on top of familiar object oriented principles, they enable you to define blueprints for common functionality that any class, structure, or enumeration can adopt. Protocols fix many of the most painful problems associated with OOP. This course introduces protocols and explains how to use them. With useful examples and practical, step-by-step instructions, you'll create protocols and use them in your code.

By the end of the course you'll be ready to use protocols in production to improve the effectiveness of your code.

About The Author

  • Hamish Knight is a Computer Science undergraduate at the University of Bath in the UK with a passion for Swift. I'm always interested in exploring how Swift operates at a lower level, and enjoy posting answers to Swift questions on Stack Overflow. Furthermore, I have three years' experience developing mobile apps for iOS, with four apps currently on the App Store.

Basic knowledge
  • protocols in Swift and basics of what protocols are

What will you learn
  • Get to know the advantages of using protocols in your code
  • Explore the basic and advanced features of protocols
  • Define protocols in order to represent powerful and reusable concepts in your code
  • Create and use generic functions and types in Swift
  • Use generics with protocols in order to write powerful and flexible generic code
Course Curriculum
No of Lectures: 18 Total Duration: 02:12:28
Reviews

No Review Yet