Mastering Swift 4 - Fourth Edition: An in-depth and comprehensive guide to modern programming techniques with Swift

Dive into the latest release of the Swift programming language with this advanced development book for building highly performant applications.

About This Book

  • Harness the latest and most advanced features of Swift 4 to develop quality iOS and macOS applications
  • Comprehensive coverage of all the advanced features of Swift and guidance on advanced design techniques
  • Dive deep into protocol extensions, learn new error handling model, and use featured Swift design patterns to write more efficient code
  • Get to grips with advanced design techniques to write smarter, cleaner Swift code

Who This Book Is For

This book is for developers who want to delve into the newest version of Swift. If you are a developer who learns best by looking at and working with code, then this book is for you. A basic understanding of Apple's tools is beneficial but not mandatory.

What You Will Learn

  • Delve into the core components of Swift 4.0, including operators, collections, control flows, and functions
  • Create and use classes, structures, and enumerations
  • Understand protocol-oriented design and see how it can help you write better code
  • Develop a practical understanding of subscripts and extensions
  • Add concurrency to your applications using Grand Central Dispatch and Operation Queues
  • Implement generics and closures to write very flexible and reusable code
  • Make use of Swift s error handling and availability features to write safer code

In Detail

Swift is the definitive language for Apple development today. It's a vital part of any iOS and macOS developer's skillset, helping them to build the most impressive and popular apps on the App Store the sort of apps that are essential to iPhone and iPad users every day. With version 4.0, the Swift team has added new features to improve the development experience, making it easier to get the results you want and customers expect.

Inside, you'll find the key features of Swift 4.0 and quickly learn how to use the newest updates to your development advantage. From Objective-C interoperability and ARC to closures and concurrency, this advanced Swift guide will develop your expertise and help you become fluent in this vital programming language.

We'll give you an in-depth knowledge of some of the most sophisticated elements of Swift development, including protocol extensions, error-handling, design patterns, and concurrency. We'll guide you on how to use and apply them in your own projects. You'll see how to leverage the power of protocol-oriented programming to write flexible and easier-to-manage code.

Table of Contents

  1. Taking the First Steps with Swift
  2. Learning about Variables, Constants, Strings & Operators
  3. Using Swift Collections & the Tuple Type
  4. Control Flow & Functions
  5. Classes & Structures
  6. Using Protocols & Protocol Extensions
  7. Protocol-Oriented Design
  8. Writing Safer Code with Availability & Error Handling
  9. Custom Subscripting
  10. Using Optional Types
  11. Working with Generics
  12. Working with Closures
  13. Using Mix & Match
  14. Concurrency & Parallelism in Swift
  15. Swift Formatting & Style Guide
  16. Swift Core Libraries
  17. Adopting Design Patterns in Swift


Buy On Amazon »
Swift 4 Programming Cookbook: 50 tas...

...oriented recipes to make you productive with Swift 4Key FeaturesWrite robust and efficient code and avoid common pitfalls usi ...

Details »
Learning Swift: Building Apps for macOS, iOS, and Beyond

Get valuable hands-on experience with Swift, the open source programming language developed by Apple. With this practical guide, ...

Details »
Beginner's Guide to iOS 11 App Development Using Swift 4

This book covers iOS 11 app design fundamentals using the latest Swift 4 programming language, Xcode 9 and iOS 11 SDK.The author ...

Details »
Programming iOS 12: Dive Deep into Views, View Controllers, and Frameworks

If you’re grounded in the basics of Swift, Xcode, and the Cocoa framework, this book provides a structured explanation of all ...

Details »
Mastering Swift 5: Deep dive into the latest edition of the Swift programming language, 5th Edition

Harness the power of the latest edition with this in-depth and comprehensive guide to the Swift languageKey FeaturesFifth editio ...

Details »
iOS Apps for Masterminds 4th Edition: How to take advantage of Swift 4.2, iOS 12, and Xcode 10 to create insanely great apps for iPhones and iPads

Learn how to create apps for iOS 12 before anyone else. This is the first book to teach you how to work with Swift 4.2, Xcode 10 ...

Details »
iOS Apps for Masterminds 3rd Edition: How to take advantage of Swift 4, iOS 11, and Xcode 9 to create insanely great apps for iPhones and iPads

Includes 828 pages! More than 700 Codes Explained!More than 150 Projects!.iOS Apps for Masterminds leads the reader step by step ...

Details »
Swift 4 Protocol-Oriented Programming: Bring predictability, performance, and productivity to your Swift applications, 3rd Edition

Build fast and powerful applications by harnessing the power of protocol-oriented programming in Swift 4Key FeaturesLeverage the ...

Details »
Swift Programming: The Big Nerd Ranch Guide, 2/e (Big Nerd Ranch Guides)

This is the eBook of the printed book and may not include any media, website access codes, or print supplements that may come ...

Details »
iOS Programming: The Big Nerd Ranch Guide (Big Nerd Ranch Guides)

Updated for Xcode 8, Swift 3, and iOS 10, iOS Programming: The Big Nerd Ranch Guide leads you through the essential concepts, ...

Details »