My Account Log in

1 option

Swift pocket reference / Anthony Gray.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Gray, Anthony, author.
Language:
English
Subjects (All):
iOS (Electronic resource).
Swift (Computer program language).
Object-oriented programming languages.
iPhone (Smartphone)--Programming.
iPhone (Smartphone).
iPad (Computer)--Programming.
iPad (Computer).
Macintosh (Computer)--Programming.
Macintosh (Computer).
Application software--Development.
Application software.
Application software--Development--Management.
Physical Description:
1 online resource (236 p.)
Edition:
2nd ed.
Place of Publication:
Sebastopol, CA : O'Reilly, 2015.
System Details:
text file
Summary:
Get quick answers for developing and debugging applications with Swift, Apple’s multi-paradigm programming 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.
Contents:
Copyright; Table of Contents; Swift Pocket Reference; Introduction; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Getting Started with Swift 2; The Swift REPL; Swift as a Scripting Language; Swift Playgrounds; A Taste of Swift; Basic Language Features; Comments; Semicolons; Whitespace; Naming Conventions; Importing Code from Other Modules; Types; Specific Integer Types; Numeric Literals; Character and String Literals; Type Aliases; Nested Types; Other Types; Variables and Constants; Computed Variables; Variable Observers; Tuples
Tuple Variables and ConstantsExtracting Tuple Components; Naming Tuple Components; Using Type Aliases with Tuples; Tuples as Return Types; Operators; No Implicit Type Conversion; Arithmetic Operators; Bitwise Operators; Assignment Operators; Comparison Operators; Logical Operators; Overflow Operators; Type Casting Operators; Range Operators; Ternary Conditional Operator; Operator Precedence; Strings and Characters; String Properties; Comparing Strings; Escaped Characters in Strings; String Interpolation; Converting Strings to Numeric Types; Character-Level Access in Strings
Local and External Parameter NamesDefault Parameter Values; Variadic Parameters; Function Types; Closures; Automatic Argument Names; Trailing Closures; Capturing Values; Capturing Values by Reference; Optionals; Unwrapping Optionals; Implicitly Unwrapped Optionals; Optional Binding; Optional Chaining; Program Flow; Loops; Conditional Execution; Error Handling; Classes; Defining a Base Class; Instances; Properties; Methods; Subscripts; Member Protection; Inheritance: Deriving One Class from Another; Overriding Superclass Entities; Preventing Overrides and Subclassing; Initialization
Initialization and InheritanceDeinitialization; Structures; Properties in Structures; Methods in Structures; Type Methods for Structures; Initializers in Structures; Enumerations; Raw Member Values; Associated Values; Methods in Enumerations; Type Methods for Enumerations; Recursive Enumerations; Failable Initializers in Enumerations; Access Control; Specifying Access Control Levels; Default Access Control Levels; Extensions; Computed Property Extensions; Initializer Extensions; Method Extensions; Subscript Extensions; Checking and Casting Types; Any and AnyObject; Checking Types
Downcasting Types
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed January 20, 2016).
ISBN:
9781491940068
1491940069
9781491940044
1491940042
OCLC:
930602016

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account