The new Swift 4 cookbook is out!

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. With Swift 4 Recipes, your programming problems are easily resolved, without wading through paragraphs of text.

What You'll Learn

  • How to get familiar with Swift and write your first program
  • The basics of the language, from variables and constants to conditionals and loops
  • Use efficiently functions, closures, and classes
  • Make use of the power of all of Swift's libraries: strings, arrays, sets, dictionaries
  • Handle number functions and manipulate dates
  • Learn to work with files and the system in general
  • More advanced topics, covering from web requests to caching
Who This Book Is For
Mac and iOS developers either looking for a quick problem-solution manual to get started or in search of a quick reference for everyday problems in a dictionary-like fashion.

   Pre-order now!


Find answers here

Hi there! Ask Us a Question We are ready to help