Book Image

Mastering Swift 2 Programming [Video]

By : Dan Beaulieu
Book Image

Mastering Swift 2 Programming [Video]

By: Dan Beaulieu

Overview of this book

<p>Swift 2 is a multi-paradigm programming language that has expressive features familiar to modern functional languages, and does not forget the object-oriented features of Objective-C. Things that took a block of code in Objective-C are reduced to one or two lines in Swift. Swift is said to be safer, faster, and easier to understand, and has the energy of Apple and the open source community behind it.</p> <p>This course takes you on a journey through a wide array of topics that are crucial to writing top-level Swift code. You will get an in-depth view of various core topics such as advanced language features, memory management, interoperability, concurrency, advanced debugging, algorithms, and performance optimizations. Last but not least, we’ll also explore Swift design patterns.</p> <p>We’ll start by discussing the uniqueness of Swift, what’s new, and what’s to come. Then we take a look at fast-paced deconstructions of advanced language features such as extensions, generics, protocols, and more. Next we’ll focus on memory management as you learn how to measure and address our applications’ memory usage.</p> <p>Soon we’ll dive into opening Swift up to Objective-C, C, and even C++ code and speeding up development by leveraging third-party frameworks. We will then move on to asynchronous programming and concurrency and you’ll see how to process multiple tasks simultaneously.</p> <p>You’ll discover how to debug your applications more effectively, which is one of the key components to becoming a faster developer. As the journey comes to an end, we will take a look at compiler optimizations, performance measurements, and algorithms and complexity. Finally, you’ll explore specific design patterns can address common programming problems.</p> <h1>Style and Approach</h1> <p>This is a very practical and step-by-step tutorial that will give you a comprehensive understanding of how Swift works. It will provide you with tips and techniques to improve your applications’ performance and will give you simplified explanations so you can write cleaner and more flexible code.&nbsp;</p>
Table of Contents (8 chapters)
Chapter 2
Advanced Language Features and Functional Concepts
Content Locked
Section 3
Extensions
Often we’ll find ourselves needing to extend a class functionality. In this video, we’ll see how we can extend any class. - Go over the extension syntax - Look at a simple use case - Write our own extension and incorporate it into our game