Swift Pocket Reference: Programming for iOS and OS X, 2nd Edition

Swift Pocket Reference: Programming for iOS and OS X, 2nd Edition Front Cover
0 Reviews
240 pages

Book Description

Get quick answers for developing and debugging applications with , Apple’s multi-paradigm language. Updated to cover the latest features in Swift 2.0, 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 language can call APIs implemented in the other. Swift is still evolving, but Apple clearly sees it as the future language of choice for and OS X development.

Topics include:

  • Supported data types, such as strings, arrays, array slices, sets, and dictionaries
  • Program flow: loops, conditional execution, and error handling
  • Classes, structures, enumerations, and
  • Protocols, extensions, and generics
  • Memory management
  • 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
  • control: restricting to types, methods, and properties
  • Ranges, intervals, and strides
  • A full list of built-in global functions and their parameter requirements

Table of Contents

  • Introduction
  • Conventions Used in This Book
  • Using Code Examples
  • Safari® Books Online
  • How to Contact Us
  • Acknowledgments
  • Getting Started with Swift 2
  • A Taste of Swift
  • Basic Language Features
  • Types
  • Variables and Constants
  • Tuples
  • Operators
  • Strings and Characters
  • Arrays
  • Dictionaries
  • Sets
  • Functions
  • Closures
  • Optionals
  • Program Flow
  • Classes
  • Structures
  • Enumerations
  • Access Control
  • Extensions
  • Checking and Casting Types
  • Protocols
  • Memory Management
  • Generics
  • Operator Overloading
  • Ranges, Intervals, and Strides
  • Global Functions
  • Changes From Swift 1.0

Book Details

  • Title: Swift Pocket Reference: Programming for iOS and OS X, 2nd Edition
  • Author:
  • Length: 240 pages
  • Edition: 2
  • Language: English
  • Publisher:
  • Publication Date: 2015-12-05
  • ISBN-10: 1491940077
  • ISBN-13: 9781491940075
File HostFree Download LinkFormatSize (MB)Upload Date
FilePi Click to downloadTrue PDF, EPUB, MOBI9.211/15/2015
ZippyShare Click to downloadTrue PDF, AZW353.608/23/2017
How to Download? Report Dead Links & Get a Copy

Leave a Reply