Keith Moon | Swift 4 Programming Cookbook [2017, en]
Swift 4 Programming Cookbook: 50 task-oriented recipes to make you productive with Swift 4. Over 50 recipes to help you quickly and efficiently build applications with Swift 4 and Xcode 9 .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 Apples Xcode 9 IDE and Swift Playgrounds, which provide an ideal platform to write, execute, and debug the codes thus initiating your development process. Next, youll learn to bundle variables into tuples, set order to your data with an array, store key-value pairs with dictionaries and youll 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 youll, 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, youll explore advanced features of Swift Playgrounds. At the end of the book, youll 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.
What You Will Learn
Explore basic to advanced concepts in Swift 4 Programming
Unleash advanced features of Apples Xcode 9 IDE and Swift Playgrounds
Learn about the conditional statements, loops, and how to handle errors in Swift
Define flexible classes and structs using Generics, and learn about the advanced operators, and create custom operators
Explore functionalities outside of the standard libraries of Swift
Import your own custom functionality into Swift Playgrounds
Run Swift on Linux and investigate server-side programming with the server side framework Vapor