Back to results
Cover image for book Swift Pocket Reference

Swift Pocket Reference

By:Gray, Anthony
Publisher:O'Reilly Media, Inc.
Print ISBN:9781491915424
eText ISBN:9781491915424
Edition:1
Format:Page Fidelity

eBook Features

Instant Access

Purchase and read your book immediately

Read Offline

Access your eTextbook anytime and anywhere

Study Tools

Built-in study tools like highlights and more

Read Aloud

Listen and follow along as Bookshelf reads to you

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 playgroundsSupported data types, such as strings, arrays, and dictionariesVariables and constantsProgram flow: loops and conditional executionClasses, structures, enumerations, functions, and protocolsClosures: similar to blocks in Objective-C and lambdas in C#Optionals: values that can explicitly have no valueOperators, operator overloading, and custom operatorsAccess control: restricting access to types, methods, and propertiesBuilt-in global functions and their parameter requirements

• 2026 © SAU Tech Bookstore. All Rights Reserved.