title: Swift Quick Syntax Reference
author:  Matthew Campbell 
description: Matthew Campbell has written many books on software development including Objective-C Recipes with Apress, How to Build an App, Beginning Objective-C Programming and How to Make an iPhone App. Currently, Matt is working on another book with Apress named Objective-C Syntax Quick Reference. All of Matt's books are based on Matt's experience teaching hundreds of developers iOS.Matt is also the lead developer for the Tasting Notes iOS application and founder of Mobile App Mastery, which trains software developers. Prior to founding Mobile App Mastery, Matt worked for the Educational Testing Service as a data analyst where he used SAS and .NET to help with scientific research.
zlib_text: Swift	Essentials	Second	Edition
  
  Table	of	Contents
  Swift	Essentials	Second	Edition
  Credits
  About	the	Author
  Acknowledgments
  About	the	Reviewer
  www.PacktPub.com
  Support	files,	eBooks,	discount	offers,	and	more
  Why	subscribe?
  Free	access	for	Packt	account	holders
  Preface
  What	this	book	covers
  What	you	need	for	this	book
  Who	this	book	is	for
  Trademarks
  Conventions
  Reader	feedback
  Customer	support
  Downloading	the	example	code
  Errata
  Piracy
  Questions
  1.	Exploring	Swift
  Open	source	Swift
  Getting	started	with	Swift
  Numeric	literals
  Floating	point	literals
  String	literals
  Variables	and	constants
  Collection	types
  
  Optional	types
  Nil	coalescing	operator
  Conditional	logic
  If	statements
  Switch	statements
  Iteration
  Iterating	over	keys	and	values	in	a	dictionary
  Iteration	with	for	loops
  Break	and	continue
  Functions
  Named	arguments
  Optional	arguments	and	default	values
  Guards
  Multiple	return	values	and	arguments
  Returning	structured	values
  Error	handling
  Throwing	errors
  Catching	errors
  Cleaning	up	af