Swift 4 Programming Cookbook: 50 task-oriented recipes to make you productive with Swift 4

· Packt Publishing Ltd
4.0
2 reviews
Ebook
384
Pages

About this ebook

Over 50 recipes to help you quickly and efficiently build applications with Swift 4 and Xcode 9About This BookWrite robust and efficient code and avoid common pitfalls using Swift 4Get a comprehensive coverage of the tools and techniques needed to create multi-platform apps with Swift 4Packed with easy-to-follow recipes, this book will help you develop code using the latest version of SwiftWho This Book Is For

If you are looking for a book to help you learn about the diverse features offered by Swift 4 along with tips and tricks to efficiently code and build applications, then this book is for you. Basic knowledge of Swift or general programming concepts will be beneficial.

What You Will LearnExplore basic to advanced concepts in Swift 4 ProgrammingUnleash advanced features of Apple's Xcode 9 IDE and Swift PlaygroundsLearn about the conditional statements, loops, and how to handle errors in SwiftDefine flexible classes and structs using Generics, and learn about the advanced operators, and create custom operatorsExplore functionalities outside of the standard libraries of SwiftImport your own custom functionality into Swift PlaygroundsRun Swift on Linux and investigate server-side programming with the server side framework VaporIn Detail

Swift 4 is an exciting, multi-platform, general-purpose programming language. Being open source, modern and easy to use has made Swift one of the fastest growing programming languages. If you interested in exploring it, then this book is what you need.

The book begins with an introduction to the basic building blocks of Swift 4, its syntax and the functionalities of Swift constructs. Then, introduces you to Apple's Xcode 9 IDE and Swift Playgrounds, which provide an ideal platform to write, execute, and debug the codes thus initiating your development process. Next, you'll learn to bundle variables into tuples, set order to your data with an array, store key-value pairs with dictionaries and you'll learn how to use the property observers. Later, explore the decision-making and control structures in Swift and learn how to handle errors in Swift 4.

Then you'll, examine the advanced features of Swift, generics and operators, and then explore the functionalities outside of the standard library, provided by frameworks such as Foundation and UIKit. Also, you'll explore advanced features of Swift Playgrounds. At the end of the book, you'll learn server-side programming aspect of Swift 4 and see how to run Swift on Linux and then investigate Vapor, one of the most popular server-side frameworks for Swift.

Style and approach

Each recipe addresses a specific problem, with a detailed discussion that explains the solution and offers insight into how it works.

Ratings and reviews

4.0
2 reviews

About the author

Keith Moon is an award-winning iOS developer, author and speaker based in London. He has worked with some of the biggest companies in the world to create engaging and personal mobile experiences. Keith has been developing in Swift since its release, working on projects both fully Swift, and mixed Swift and Objective-C. Keith has been invited to speak about Swift development in conferences from Moscow to Minsk and London.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.