Swift Pocket Reference

Swift Pocket Reference

by Anthony Gray

186 pages· 2014· ISBN 9781491915424

Browse books you can read free on Readfeed

No club is reading this yet — be the first to start one

Start a club free
About

Get quick answers for developing and debugging applications with Swift, Apple’s multi-paradigm programming language. This pocket reference is the perfect on-the-job tool for learning Swift’s modern language features, including type safety, generics, type inference, closures, tuples, automatic memory management, and support for Unicode.

Designed to work with Cocoa and Cocoa Touch, Swift can be used in tandem with Objective-C, and either of these languages can call APIs implemented in the other. Swift is still evolving, but it’s clear that Apple sees it as the future language of choice for iOS and OS X software development.

Topics include:

  • Swift’s Run-Eval-Print-Loop (REPL) and interactive playgrounds
  • Supported data types, such as strings, arrays, and dictionaries
  • Variables and constants
  • Program flow: loops and conditional execution
  • Classes, structures, enumerations, functions, and protocols
  • Closures: similar to blocks in Objective-C and lambdas in C#
  • Optionals: values that can explicitly have no value
  • Operators, operator overloading, and custom operators
  • Access control: restricting access to types, methods, and properties
  • Built-in global functions and their parameter requirements

Discuss Swift Pocket Reference with other readers

Join or start a book club for Swift Pocket Reference on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Swift Pocket Reference?

Sign up free on Readfeed, then browse public clubs or start your own club with Swift Pocket Reference as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Swift Pocket Reference with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Swift Pocket Reference with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.