Swift 4 Recipes
- Paperback: 436 pages
- Publisher: WOW! eBook; 1st edition (December 11, 2018)
- Language: English
- ISBN-10: 1484241819
- ISBN-13: 978-1484241813
Swift 4 Recipes: Hundreds of Useful Hand-picked Code Snippets
Get the most out of Swift 4 with this carefully compiled collection of select code snippets designed to solve everyday coding problems. This book features the Apress easy-to-use recipe format, with step-by-step instructions, and a no-fuss approach.
You’ll explore a wide range of topics, all neatly organized according to the language’s own core elements and building blocks. You’ll review common topics such as conditionals, loops, functions, classes, closures, and arrays. This book also includes recipes to some more advanced problems found in files, system programming, and algorithms.
What You’ll Learn
- Create if-switch statements, ternary operator, and nil-coalescing
- Work with numbers, conversions, mathematical functions
- Access the command line and retrieving system info
With Swift 4 Recipes, your programming problems are easily resolved, without wading through paragraphs of text.