Book Image

Advanced iOS Development with Swift 4.x [Video]

By : Jonathan Wilson, Benjamin Dordoigne
Book Image

Advanced iOS Development with Swift 4.x [Video]

By: Jonathan Wilson, Benjamin Dordoigne

Overview of this book

Swift is a secure, fast, and interactive programming language. It combines powerful type inference and pattern matching with a modern, lightweight syntax, allowing complex ideas to be expressed in a clear and concise manner. You can start using the new Swift compiler and migrate at your own pace, taking advantage of its new features. This course will provide you with an in-depth knowledge of some of the most sophisticated elements of Swift development, including protocol extensions, error-handling, design patterns, and concurrency, and guide you on how to use and apply them in your own projects. You'll see how even the most challenging design patterns and programming techniques can be used to write cleaner code and build more performant iOS and OS X applications. By the end of this course, you'll have got the hang of effective design patterns and techniques, which means you'll soon be writing better iOS and OS X applications with a new level of composure and control. All the code files and related files are placed on GitHub at this link https://github.com/PacktPublishing/Advanced-iOS-Development-with-Swift-4.x
Table of Contents (7 chapters)
Free Chapter
1
Protocol Extensions and Protocol-Oriented Programming Techniques
2
Error-Handling, Write Crash Resistant Code
4
Advanced Operators: When? Where? and Why?
5
Functions, Beyond the Basics
6
Concurrency, Explore More Complex Concurrent Code
Chapter 2
Error-Handling, Write Crash Resistant Code
Content Locked
Section 4
Writing Testable Code
How do you make you code in a way that enables you to easily write tests? Learn about dependency injection in this video. - Update the previous videos class to use a database. How do we make it testable? - Create a database protocol and learn about Mocking - Walk through what we have done and how it will help your own code in the future