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.
You will be shown a couple of inheritance patterns that are better implemented with protocols.
The aim of this video is to explain why protocols aren’t just made up of interface requirements.
In this video, you will be shown how to perform delegation with protocols.
In this video, you will be shown the power that protocols bring to unit tests.
In this video, you will be shown the OptionSet and Sequence standard library protocols.
You will be shown the collection family of protocols in the standard library, which describe a collection of elements.
In this video, you will be shown how protocols can be used in an iOS application.
We will be delving into how protocol-typed instances are stored in the memory.
Following on from the last video, learn about the difference in dispatch when calling methods on a protocol-typed instance.
You will be shown some of the differences between constrained generic placeholders and protocol types, mainly in the context of function parameters.
In this video, we will be taking a look at how type erasers can be used to work around common protocol limitations.
In this video, we will be looking at how closures can be used in order to simplify generic code.
This video aims to show how to architect a class so that a subclass can override an operator conformance by its superclass.
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”.
In this video, we will be taking a look at two workarounds for the lack of conditional conformances.
In this video, we will be taking a look at a workaround for the lack of parameterised extensions.
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.
In this video, we will be taking a look at how a future version of the language will allow for conditional conformances.
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.
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.