Introduction to Swift: Learn how to program for iPhones and iPads with Swift 4

J.D Gauchat
Free sample

 Learn how to program iOS applications with Swift. After reading this guide, you will know how to program in Swift, how to define functions and objects, and how to write code using the Swift paradigm.

Table of Contents

INTRODUCTION TO SWIFT

Computer Programs

Playground

Variables

Memory

Primitive Types

Declaration and Initialization

Arithmetic Operators

Constants

Data Types

Characters

Strings

Booleans

Optionals

Tuples

Collections

Arrays

Sets

Dictionaries

Conditionals and Loops

If and Else

Switch

While and Repeat While

For In

Control Transfer Statements

SWIFT PARADIGM

Programming Paradigms

Functions

Declaration of Functions

Generic Functions

Standard Functions

Scopes

Closures

Structures

Definition of Structures

Methods

Initialization

Property Keywords

Computed Properties

Type Properties and Methods

Primitive Type Structures and Casting

String Structures

Array Structures

Set Structures

Dictionary Structures

Range Structures

Enumerations

Associated Values

Methods

Objects

Definition of Objects

Property Observers

Type Properties and Methods

Optional Chaining

Reference Types

Memory Management

Inheritance

Type Casting

Any and AnyObject

Initialization

Deinitialization

Protocols

Definition of Protocols

Extensions

Delegates

QUICK REFERENCE

Primitive Data Types

Control Transfer Statements

Standard Functions

Primitive Type Structures

String

Array

Set

Dictionary

Range

Casting

This guide assumes that you have a basic knowledge of app development. If you need to know the requirements to develop iOS applications, download our free guide App Development. For a complete course on app development for iOS, read our book iOS Apps for Masterminds.

This guide is a collection of excerpts from the book iOS Apps for Masterminds. The information included in this guide will help you understand a particular aspect of app development in iOS, but it will not teach you everything you need to know to develop an app for Apple devices. If you need a complete course on app development for iOS, read our book iOS Apps for Masterminds. For more information, visit our website at www.formasterminds.com.

Read more
Loading...

Additional Information

Publisher
J.D Gauchat
Read more
Published on
Jan 2, 2018
Read more
Pages
148
Read more
Language
English
Read more
Content Protection
This content is DRM protected.
Read more
Read Aloud
Available on Android devices
Read more
Eligible for Family Library

Reading information

Smartphones and Tablets

Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.

Laptops and Computers

You can read books purchased on Google Play using your computer's web browser.

eReaders and other devices

To read on e-ink devices like the Sony eReader or Barnes & Noble Nook, you'll need to download a file and transfer it to your device. Please follow the detailed Help center instructions to transfer the files to supported eReaders.
 Learn how to use iCloud from your iOS applications. After reading this guide, you will know how to connect to the user's iCloud account, how to store the app's settings on the cloud, how to upload documents, and how to create a database with CloudKit.

Table of Contents

ICLOUD

Data in the Cloud

Enabling iCloud

Testing Devices

Key-Value Storage

iCloud Documents

Multiple Documents

CloudKit

Container

Records

Zones

Query

Operations

CloudKit Dashboard

Implementing CloudKit

References

Assets

Subscriptions

Errors

Deploy to Production

QUICK REFERENCE

NSUbiquitousKeyValueStore

UIDocument

NSMetadataQuery

NSMetadataItem

CKContainer

CKRecord

CKRecordID

CKRecordZone

CKQuery

CKDatabase

CKReference

CKAsset

CKDatabaseSubscription

CKDatabase

UIApplication

CKFetchDatabaseChangesOperation

CKFetchRecordZoneChangesOperation

CKError

Notifications

This guide assumes that you have a basic knowledge of app development, Xcode, and the Swift language. You should also know how to create and display Table Views. If you don't know how to program in Swift, how to work with Table Views, or how to create an application with Xcode, download our guides Introduction to Swift, Table Views and Collection Views, and Interface Builder. For a complete course on app development for iOS, read our book iOS Apps for Masterminds.

This guide is a collection of excerpts from the book iOS Apps for Masterminds. The information included in this guide will help you understand a particular aspect of app development in iOS, but it will not teach you everything you need to know to develop an app for Apple devices. If you need a complete course on app development for iOS, read our book iOS Apps for Masterminds. For more information, visit our website at www.formasterminds.com.

 Learn how to define user interfaces for your iOS applications using the visual tools provided by Xcode. After reading this guide, you will know how to start a new project, how to structure an application, how to generate the user interface and adapt it to different screens, how to work with view controllers, how to connect the interface with your code, and how to define and modify constraints from code.

Table of Contents

INTERFACE BUILDER

The Interface

Storyboard

Object Library

Guide Lines

Properties

Connections

Outlets

Connections in the Storyboard

Actions

Outlet Collections

ADAPTIVITY

Adapting the Interface

Auto Layout

Constraints

Assigning Constraints

Editing Constraints

Safe Area

Standard Values

Resolving Auto Layout Issues

Intrinsic Content Size

Multiple Views Constraints

Relations and Priorities

Stack Views

Document Outline Panel

Constraint Objects

Updating Frames

Size Classes

Adapting Properties

Adapting Constraints

Adapting Elements

Trait Collection Objects

Orientation

QUICK REFERENCE

Constraints

UIStackView

NSLayoutConstraint

UIVIew

NSLayoutXAxisAnchor, NSLayoutYAxisAnchor, and NSLayoutDimension

UITraitCollection

UITraitEnvironment

UIContentContainer

UIViewController

This guide assumes that you have a basic knowledge of app development and the Swift language. If you don't know how to program in Swift or the requirements for app development, download our guides Introduction to Swift and App Development. For a complete course on app development for iOS, read our book iOS Apps for Masterminds.

This guide is a collection of excerpts from the book iOS Apps for Masterminds. The information included in this guide will help you understand a particular aspect of app development in iOS, but it will not teach you everything you need to know to develop an app for Apple devices. If you need a complete course on app development for iOS, read our book iOS Apps for Masterminds. For more information, visit our website at www.formasterminds.com.

 Learn how to program with JavaScript. After reading this guide, you will know how to create a program in JavaScript, how to define functions and objects, and how to read and modify an HTML document dynamically.

Table of Contents

JAVASCRIPT

Introduction to JavaScript

Implementing JavaScript

Variables

Strings

Booleans

Arrays

Conditionals and Loops

Control Transfer Instructions

Functions

Declaring Functions

Scope

Anonymous Functions

Standard Functions

Objects

Declaring Objects

Methods

The this Keyword

Constructors

The new Operator

Inheritance

Standard Objects

String Objects

Array Objects

Date Objects

Math Object

Window Object

Document Object

Element Objects

Creating Element Objects

Events

The addEventListener() Method

Event Objects

Debugging

Console

Console Object

Error Event

Exceptions

APIs

Native Libraries

External Libraries

QUICK REFERENCE

Event Attributes

Instructions

Constructors

Strings

Arrays

Dates

Properties

Functions

Window Object

Document Object

Element Object

Events

Errors

This guide assumes that you have a basic knowledge of web development, HTML and CSS, and you know how to create files and upload them to a server. If you need more information on web development or you don't know how to program in HTML and CSS, download our guides Web Development, Introduction to HTML and Introduction to CSS. For a complete course on web development, read our book HTML5 for Masterminds.

This guide is a collection of excerpts from the book HTML5 for Masterminds. The information included in this guide will help you understand a particular aspect of web development, but it will not teach you everything you need to know to develop a website or a web application. If you need a complete course on web development, read our book HTML5 for Masterminds. For more information, visit our website at www.formasterminds.com.

 Learn how to program with JavaScript. After reading this guide, you will know how to create a program in JavaScript, how to define functions and objects, and how to read and modify an HTML document dynamically.

Table of Contents

JAVASCRIPT

Introduction to JavaScript

Implementing JavaScript

Variables

Strings

Booleans

Arrays

Conditionals and Loops

Control Transfer Instructions

Functions

Declaring Functions

Scope

Anonymous Functions

Standard Functions

Objects

Declaring Objects

Methods

The this Keyword

Constructors

The new Operator

Inheritance

Standard Objects

String Objects

Array Objects

Date Objects

Math Object

Window Object

Document Object

Element Objects

Creating Element Objects

Events

The addEventListener() Method

Event Objects

Debugging

Console

Console Object

Error Event

Exceptions

APIs

Native Libraries

External Libraries

QUICK REFERENCE

Event Attributes

Instructions

Constructors

Strings

Arrays

Dates

Properties

Functions

Window Object

Document Object

Element Object

Events

Errors

This guide assumes that you have a basic knowledge of web development, HTML and CSS, and you know how to create files and upload them to a server. If you need more information on web development or you don't know how to program in HTML and CSS, download our guides Web Development, Introduction to HTML and Introduction to CSS. For a complete course on web development, read our book HTML5 for Masterminds.

This guide is a collection of excerpts from the book HTML5 for Masterminds. The information included in this guide will help you understand a particular aspect of web development, but it will not teach you everything you need to know to develop a website or a web application. If you need a complete course on web development, read our book HTML5 for Masterminds. For more information, visit our website at www.formasterminds.com.

©2018 GoogleSite Terms of ServicePrivacyDevelopersArtistsAbout Google|Location: United StatesLanguage: English (United States)
By purchasing this item, you are transacting with Google Payments and agreeing to the Google Payments Terms of Service and Privacy Notice.