Introduction to Swift 4.2
By J.D. Gauchat
- Release Date: 2018-08-18
- Genre: Programming
Description
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
Guard
Enumerations
Associated Values
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
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
Swift Protocols
Extensions
Delegates
This guide assumes that you have a basic knowledge of 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.