Swift For Dummies

Editorial Reviews

Get up and running with Swift—swiftly

Brimming with expert advice and easy-to-follow instructions, Swift For Dummies shows new and existing programmers how to quickly port existing Objective-C applications into Swift and get into the swing of the new language like a pro. Designed from the ground up to be a simpler programming language, it’s never been easier to get started creating apps for the iPhone or iPad, or applications for Mac OS X.

Inside the book, you’ll find out how to set up Xcode for a new Swift application, use operators, objects, and data types, and control program flow with conditional statements. You’ll also get the scoop on creating new functions, statements, and declarations, learn useful patterns in an object-oriented environment, and take advantage of frameworks to speed your coding along. Plus, you’ll find out how Swift does away with pointer variables and how to reference and dereference variables instead.

  • Set up a playground development environment for Mac, iPhone, iPad, and wearable computers
  • Move an existing Objective-C program to Swift
  • Take advantage of framework components and subcomponents
  • Create an app that uses location, mapping, and social media

Whether you’re an existing Objective-C programmer looking to port your code to Swift or you’ve never programmed for Apple in the past, this fun and friendly guide gets you up to speed swiftly.

Table of Contents

Part I Getting Started with Swift
Chapter 1 Setting Up an Xcode Swift Project
Chapter 2 Playing in the Playground
Chapter 3 Using the Xcode Editing Tools
Chapter 4 Creating a Swift App

Part II Introducing Actions
Chapter 5 Operating on Data
Chapter 6 Using Swift Types
Chapter 7 Collecting Objects
Chapter 8 Controlling the Flow
Chapter 9 Functioning Successfully

Part III Putting Expressions Together
Chapter 10 Expressing Yourself
Chapter 11 Declaring the Symbols
Chapter 12 Initializing and Deinitializing Data

Part IV Using Components and Subcomponents
Chapter 13 Expanding Objects with Extensions
Chapter 14 Managing Access Control for Your Objects
Chapter 15 Building Classes, Structures, and Enumerations
Chapter 16 Using Properties, Variables, Outlets, and Actions
Chapter 17 Working with Enumerations to Consolidate Values
Chapter 18 Using Protocols to Provide Templates for Functionality
Chapter 19 Mixing Objective-C and Swift

Part V The Part of Tens
Chapter 20 Ten Swift Features That Aren’t in Objective-C
Chapter 21 Ten Swift Features That Are Not in C
Chapter 22 Ten Objective-C Features That Aren’t in Swift

Book Details

  • Author:
  • Pages: 384 pages
  • Edition: 1
  • Publication Date: 2015-02-24
  • Publisher:
  • Language: English
  • ISBN-10: 1119022223
  • ISBN-13: 9781119022220

Book Preview

Click to Look Inside This eBook: Browse Sample Pages

PDF eBook Free Download

Note: There is a file embedded within this post, please visit this post to download the file.

The post Swift For Dummies appeared first on Fox eBook.

Read Source: Swift For Dummies»

Leave a Reply

Your email address will not be published. Required fields are marked *