Learn Swift on the Mac : for OS X and iOS /

Saved in:
Bibliographic Details
Author / Creator:Malik, Waqar, author.
Imprint:[Berkeley, CA] : Apress, [2015]
New York, NY : Distributed to the Book trade worldwide by Springer Science+Business Media
Description:1 online resource : color illustrations
Language:English
Series:Online access with purchase: Springer (t)
Subject:
Format: E-Resource Book
URL for this record:http://pi.lib.uchicago.edu/1001/cat/bib/11092889
Hidden Bibliographic Details
ISBN:9781484203767
1484203763
1484203771
9781484203774
9781484203774
Digital file characteristics:text file PDF
Notes:"Learn Swift, Apple's new language for native app development"--Cover.
Includes bibliographical references and index.
Online resource; title from PDF title page (Ebsco, viewed April 9, 2015).
Summary:There's a new language in town. Swift is Apple's new, native, fast, and easy to learn programming language for iOS and OS X app development. It's their "Objective-C without the C". If you are an iOS developer or planning to become one, learning Swift is your #1 priority, and Learn Swift on the Mac tells you everything you need to get up to speed, well, swiftly. You'll start with the Swift Playground and an introduction to object-oriented programming so you can immediately see Swift in action. You then learn about all of the key language features like functions and closures, classes, methods, extensions, and how Swift works just as well as Objective-C when it comes to easy memory management with ARC. Finally you'll learn how to use Swift alongside Objective-C as well as with Core Data, and you'll learn how to put all of the pieces together with a health app using Apple's new HealthKit framework.
Other form:Print version: Malik, Waqar. Learn Swift on the Mac : for OSX and iOS. [Berkeley, California] : Apress, ©2015. 242 pages 9781484203774
Standard no.:10.1007/978-1-4842-0376-7
Table of Contents:
  • ""Contents at a Glance""; ""Contents""; ""About the Author""; ""About the Technical Reviewer""; ""Acknowledgments""; ""Introduction""; ""Chapter 1: Hello Swift""; ""Improvements over Objective-C""; ""Type Inference""; ""Type Safety""; ""Control Flow""; ""Optionals""; ""Strings""; ""Unicode""; ""Other Improvements""; ""Requirements""; ""Getting Xcode""; ""Quick Tour of Xcode""; ""Quick Tour of Swift""; ""Basic Types""; ""Aggregate Types""; ""Control Flow""; ""Functions""; ""Objects""; ""Generics""; ""Getting the Sample Code""; ""Summary""; ""Chapter 2: The Swift Playground in Xcode 6""
  • ""Getting Started with a Playgorund""""Custom QuickLook Plugins""; ""XCShowView""; ""XCCaptureValue""; ""XCPSetExecutionShouldContinueIndefinitely""; ""Custom Modules for Playground""; ""Importing Your Code""; ""Summary""; ""Chapter 3: Accessing Swiftâ€?s Compiler and Interpreter: REPL""; ""What is REPL?""; ""LLDB and the Swift REPL""; ""Summary""; ""Chapter 4: Introduction to Object-Oriented Programming""; ""The Concept Behind OOP""; ""Indirection and Variables""; ""Procedural Programming""; ""Objected Oriented Implementation""; ""Summary""
  • ""Chapter 5: Constants, Variables, and Data Types""""Type Annotation""; ""Identifiers""; ""Console Output""; ""Integers""; ""Floating-Point Numbers""; ""Numeric Literals""; ""Conversion""; ""Booleans""; ""Characters""; ""Strings""; ""Collection Types""; ""Arrays""; ""Dictionaries""; ""Tuples""; ""Optionals""; ""Summary""; ""Chapter 6: Operators""; ""Syntax""; ""Notation""; ""Precedence""; ""Associativity""; ""Swift Operators""; ""Prefix""; ""Infix""; ""Bitwise Shift (precedence 160)""; ""Multiplicative (associativity left, precedence 150)""; ""Additive (associativity, left precedence 140)""
  • ""Range (precedence 135)""""Cast (precedence 132)""; ""Comparative (precedence 130)""; ""Conjunctive (associativity, left precedence 120)""; ""Disjunctive (associativity, left precedence 110)""; ""Nil Coalescing (associativity, right precedence 110)""; ""Ternary Conditional (associativity, right precedence 100)""; ""Assignment (associativity, right precedence 90)""; ""Postfix""; ""Overloading Operators""; ""Unary Operator""; ""Binary Operators""; ""Summary""; ""Chapter 7: Flow Control""; ""For Loops""; ""For-in""; ""For-conditional-Increment""; ""While""; ""Do-while""; ""Branch Statements""
  • ""Switch""""Range Matching""; ""Tuples""; ""Value Binding""; ""String Matching""; ""Where Clause""; ""Control Transfer Statements""; ""Continue""; ""Break""; ""Fallthrough""; ""Return""; ""Labeled Statements""; ""Summary""; ""Chapter 8: Functions and Closures""; ""Defining Functions""; ""Calling a Function""; ""Parameter Names""; ""Default Values""; ""Variadic Parameters""; ""Mutablity of Parameters""; ""In-Out Parameters""; ""Function Types""; ""Functions as Parameters""; ""Functions as Return Values""; ""Nested Functions""; ""Closures""; ""Closure Syntax""; ""Inferring Types from Context""