Mastering Swift 4 - Fourth Edition Mastering Swift 4 - Fourth Edition

Mastering Swift 4 - Fourth Edition

    • 2.0 • 1 Rating
    • £29.99
    • £29.99

Publisher Description

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.

Style and Approach
A Step-by-step advanced guide

GENRE
Computing & Internet
RELEASED
2017
27 September
LANGUAGE
EN
English
LENGTH
392
Pages
PUBLISHER
Packt Publishing
SIZE
12.7
MB

Customer Reviews

Retired Software Consultant ,

Out of date, poorly organised and not well written

Sadly, this is not a good book on Swift, and new programmers in particular would be well advised to look elsewhere for their information on the language and also the more advanced content, such as on implementing the GoF design patterns in Swift.

The three main problems with this book are:

1. It is not logically ordered;
2. The examples are poor; and
3. The author clearly doesn’t understand certain subjects, especially in more advanced areas

By far the most troubling aspect is that the chapters on Protocol Oriented Programming and the section on Design Patterns are incredibly poor, stemming directly from what appears to be a lack of understanding of the basic concepts of the design patterns themselves, along with weakness in code design and how to properly use POP and design patterns together.

A simple example: the HouseProxy type that Hoffman introduces does not conform to the same protocol (or share a common base type) as the House type. The whole point of the Proxy pattern is that the additional functionality is added to a type without the knowledge of the consuming (client) code.

Sadly, there is not much to commend this book, as the language structural elements are often better explained in the online Swift Language Guide, and the more advanced sections are, at best, misleading.

So, to conclude, neither a good book for beginner programmers, nor for programmers wishing to push beyond the basic content offered by the Swift Language Guide.

Mastering Swift 5 Mastering Swift 5
2019
Mastering Swift 5.3 Mastering Swift 5.3
2020
Protocol-Oriented Programming with Swift Protocol-Oriented Programming with Swift
2016
Swift in 24 Hours, Sams Teach Yourself Swift in 24 Hours, Sams Teach Yourself
2014
The Swift Developer's Cookbook The Swift Developer's Cookbook
2015
Learning to Program in Swift Learning to Program in Swift
2015
Protocol-Oriented Programming with Swift Protocol-Oriented Programming with Swift
2016
Mastering Swift 5 Mastering Swift 5
2019
Mastering Swift 5.3 Mastering Swift 5.3
2020
Mastering Swift 3 Mastering Swift 3
2016
Mastering Swift 2 Mastering Swift 2
2015
iOS and OS X Network Programming Cookbook iOS and OS X Network Programming Cookbook
2014