
- 142 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Swift 3 New Features
About this book
A fast-paced guide to get you up and running with Swift 3 and its new features
About This Book
- Get up to date with the latest changes to Swift 3
- Make your life easier by knowing how to port your Swift code to the latest version
- Learn how to write programs that work on most of the major platforms such as iOS and Linux
Who This Book Is For
The book is for those who are familiar with Swift but are in need of clear guidance on what's changed in the latest version and the new features.
What You Will Learn
- Migrate a Swift 2.2 project to Swift 3
- Understand the workings of Swift Package Manager
- Interact with Cocoa libraries when importing Objective C to Swift
- Explore the function and operator changes new in Swift 3
- Work with the advanced type changes, attribute improvements, and floating point type improvements in Swift
- Discover the changes in the Swift API and see how Objective-C can be manipulated in the current API
- Implement the new features central to Swift Testing and understand the new debug features
- Create server-side applications using Swift 3
In Detail
Since Swift was introduced by Apple in WWDC 2015, it has gone on to become one of the most beloved languages to develop iOS applications with. In the new version, the Swift team aimed to take its adoption to the next level by making it available for new platforms and audiences.
This book will very quickly get you up to speed and productive with Swift 3. You will begin by understanding the process of submitting new feature requests for future versions of Swift. Swift 3 allows you to develop and run your applications on a Linux machine. Using this feature, you will write your first Linux application using the debugger in Linux. Using Swift migrator, you will initiate a conversion from Swift 2.2 to Swift 3.
Further on, you will learn how to interact with Cocoa libraries when importing Objective C to Swift. You will explore the function and operator changes new to Swift 3, followed by Collection and Closure changes. You will also see the changes in Swift 3 that allow you write tests easier with XCTest and debug your running code better with new formats as well. Finally, you will have a running server written completely in Swift on a Linux box.
By the end of the book, you will know everything you need to know to dive into Swift 3 and build successful projects.
Style and approach
The book takes a tutorial-based approach offering an overview of the new features introduced in the latest version of Swift. It includes relevant examples of how code and concepts change when it comes to working on Swift 3 compared to previous versions.
Trusted by 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Swift 3 New Features
Swift 3 New Features
Credits
| Author Keith Elliott | Copy Editor Charlotte Carneiro |
| Reviewer Arthur Ariel Sabintsev | Project Coordinator Sheejal Shah |
| Commissioning Editor Ashwin Nair | Proofreader Safis Editing |
| Acquisition Editor Reshma Raman | Indexer Tejal Daruwale Soni |
| Content Development Editor Divij Kotian | Graphics Jason Monteiro |
| Technical Editor Gebin George | Production Coordinator Aparna Bhagat |
About the Author
I would like to thank my wife Grace, children Jadyn, Avery, Tobias, and Cohen, and his little dog Gideon for inspiring and helping me fulfill my dreams.
About the Reviewer
www.PacktPub.com

Why subscribe?
- Fully searchable across every book published by Packt
- Copy and paste, print, and bookmark content
- On demand and accessible via a web browser
Preface
Objectives and achievements
- Understanding how the Grand Renaming will make your code easier to write and understand by other developers
- Getting comfortable with the tools available to write Swift applications on a Mac or on Linux
- Converting your Swift 2.2 projects to Swift 3
- Making you aware of the syntax changes new to Swift 3
What this book covers
Table of contents
- Swift 3 New Features
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app