Search
Filters
Blog options
Close

Mastering Swift 2 Now Available On PacktPub!

Mastering Swift 2 Now Available On PacktPub!

As you may or may not have noticed, I haven't been posting very many entries lately. I promise I have a good reason for this, I've been hard at work since November writing and producing my first course on Swift called Mastering Swift 2, which is now available on PacktPub. Details below...

From PacktPub:

Video Description

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.

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.

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.

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.

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.

Style and Approach

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. 

Table of Contents

  • SWIFT PRIMER AND INTRODUCTION TO FUNCTIONAL PROGRAMMING
  • ADVANCED LANGUAGE FEATURES AND FUNCTIONAL CONCEPTS
  • EXPLORING SWIFT’S MEMORY MANAGEMENT
  • INTEROPERABILITY AND WORKING WITH 3RD PARTY LIBRARIES
  • CONCURRENCY AND GRAND CENTRAL DISPATCH
  • TROUBLESHOOTING, ADVANCED DEBUGGING, AND ERROR HANDLING
  • PERFORMANCE OPTIMIZATION AND INTRODUCTION TO ALGORITHMS
  • DESIGN PATTERNS

What You Will Learn

  • Gain useful insight into your code’s memory performance by analyzing your application with powerful Xcode tools
  • Utilize the CocoaPods package manager to import third-party Swift libraries into your project
  • Employ bridging headers to interoperate with other languages such as Objective-C, C, and C++ code
  • Write concurrent applications by utilizing asynchronous functions and powerful multi-threading features such as Grand Central Dispatch
  • Improve your development speed by gaining advanced debugging skills
  • Write safer code by seeing how to throw, catch, and handle exceptions
  • Choose the best algorithm for your application by comparing performance metrics in XCTest
  • Take a look at several design patterns that address common problems programmers face in Swift
 
View On PacktPub