Skip to main content
Apress
Book cover

Swift 4 Recipes

Hundreds of Useful Hand-picked Code Snippets

  • Book
  • © 2019

Overview

  • Covers the latest version of Swift 4
  • Follows a dictionary-like approach, without unnecessary text—just the solutions you need
  • Offers a wide range of topics with over 340 recipes
  • 10k Accesses

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (13 chapters)

  1. Beginner

  2. Intermediate

  3. Advanced

Keywords

About this book

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
  • Create if-switch statements, ternary operator, and nil-coalescing 
  • Work with numbers, conversions, mathematical functions 
  • Access the command line and retrieving system info
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.

Authors and Affiliations

  • Granada, Spain

    Yanis Zafirópulos

About the author

Ioannis Zafeiropoulosis a 32-year-old developer from Greece, living in the south of Spain. Before becoming a programmer, he studied medicine. But his lifelong passion for programming beginning when he was 7-year-olds has led to him writing code in practically every programming languages. He’s even created his own langauge. Swift Recipes has been his own day-to-day companion, whenever he’s need to find a solution to some Swift programming problem, or simply cannot remember one.

Bibliographic Information

  • Book Title: Swift 4 Recipes

  • Book Subtitle: Hundreds of Useful Hand-picked Code Snippets

  • Authors: Yanis Zafirópulos

  • DOI: https://doi.org/10.1007/978-1-4842-4182-0

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: Yanis Zafir�pulos 2019

  • Softcover ISBN: 978-1-4842-4181-3Published: 11 December 2018

  • eBook ISBN: 978-1-4842-4182-0Published: 10 December 2018

  • Edition Number: 1

  • Number of Pages: LXI, 371

  • Number of Illustrations: 1 b/w illustrations

  • Topics: Apple and iOS

Publish with us