Build Your Swift App Using Protocols
0.0 (0 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
3 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Build Your Swift App Using Protocols to your Wishlist.

Add to Wishlist

Build Your Swift App Using Protocols

Use protocols effectively in your code and explore protocols under the hood
New
0.0 (0 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
3 students enrolled
Created by Packt Publishing
Last updated 8/2017
English
Current price: $10 Original price: $125 Discount: 92% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 3.5 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Explain the implementation of common patterns using protocols
  • Implement some of the standard library's more advanced protocols, such as Sequence and the Collection family of protocols
  • Use protocols effectively in real-world applications
  • Explore some under-the-hood details of protocols that can help you use them efficiently in your code
  • Solve common problems encountered when working with protocols
  • Master some of the great new protocol features in Swift 4
View Curriculum
Requirements
  • Xcode 8 or above is required. You will be building your first app with protocols. By the end of this course you’ll be a protocol programming expert.
Description

This course shows you how to get the most out of Protocol Oriented Programming. Taking you beyond the basics, it teaches you advanced techniques and ways-of-thinking that will improve the way you use protocols, and shows you how to solve common problems you'll face when working with protocols. You will soon be building your first app with protocols. By the end of this course you'll be a protocol programming expert.

About the Author

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

Who is the target audience?
  • If you are a Swift Developer and are already familiar with protocols and how to use them, but want to learn how to use them effectively in your code, solve common problems with them, and want to learn about some of their lower-level details, this course is for you!
Compare to Other Swift Courses
Curriculum For This Course
20 Lectures
03:23:58
+
Writing Your First Protocol-oriented Program
8 Lectures 01:44:49

This video provides an overview of the entire course.

Preview 02:45

You will be shown a couple of inheritance patterns that are better implemented with protocols.

Using Protocols Over Inheritance
16:47

The aim of this video is to explain why protocols aren’t just made up of interface requirements.

The Importance of Protocol Semantics
09:37

In this video, you will be shown how to perform delegation with protocols.

Delegation with Protocols
11:04

In this video, you will be shown the power that protocols bring to unit tests.

Testing with Protocols
07:59

In this video, you will be shown the OptionSet and Sequence standard library protocols.

OptionSet and Sequence
13:32

You will be shown the collection family of protocols in the standard library, which describe a collection of elements.

Collection Family of Protocols
21:17

In this video, you will be shown how protocols can be used in an iOS application.

Building an App with Protocols
21:48
+
Protocols Under the Hood
3 Lectures 25:40

We will be delving into how protocol-typed instances are stored in the memory.

Preview 09:26

Following on from the last video, learn about the difference in dispatch when calling methods on a protocol-typed instance.

Dispatch of Protocol Requirements
04:46

You will be shown some of the differences between constrained generic placeholders and protocol types, mainly in the context of function parameters.

Constrained Generic Placeholder versus Protocol Type
11:28
+
Working with the Limitations of Protocols
6 Lectures 50:04

In this video, we will be taking a look at how type erasers can be used to work around common protocol limitations.

Preview 11:53

In this video, we will be looking at how closures can be used in order to simplify generic code.

Simplifying Protocol Architectures with Closures
11:49

This video aims to show how to architect a class so that a subclass can override an operator conformance by its superclass.

Overriding Operator Conformance
07:57

In this video, we will be taking a look at how casts to collections of protocol-typed elements can be cheapened using a “protocol tag”.

Avoiding Expensive Casts
05:56

In this video, we will be taking a look at two workarounds for the lack of conditional conformances.

Working Around the Lack of Conditional Conformances
07:18

In this video, we will be taking a look at a workaround for the lack of parameterised extensions.

Using Protocols to Allow Parameterised Extensions
05:11
+
Swift 4 and Beyond
3 Lectures 23:25

In this video, we will be taking a look at how in Swift 4, you will be able to use where clauses on associated types.

Preview 13:50

In this video, we will be taking a look at how a future version of the language will allow for conditional conformances.

Working with Conditional Conformances
04:42

This video aims to show how you can express the type of something that both inherits from a given class and conforms to one or more protocols in Swift 4.

Class and Subtype Existentials
04:53
About the Instructor
Packt Publishing
3.9 Average rating
8,229 Reviews
59,023 Students
687 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.