Introduction to Swift 5.7 - J.D. Gauchat

Introduction to Swift 5.7

By J.D. Gauchat

  • Release Date: 2022-09-13
  • Genre: Programming

Description

Quick Guides for Masterminds are excerpts from our best-selling books SwiftUI for Masterminds, UIKit for Masterminds, and HTML5 for Masterminds, providing a cost-effective alternative to getting the information you need.

Description

With this guide, you will learn how to program in Swift 5.7 and how to implement Swift concurrency.

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.

Swift 5.7 | iOS 16 | Xcode 14

Table of Contents

INTRODUCTION TO SWIFT
Computer Programming
Playground
Variables
Memory
Primitive Data Types
Declaration and Initialization
Arithmetic Operators
Constants
Swift Data Types
Characters
Strings
Booleans
Optionals
Tuples
Conditionals and Loops
If and Else
Switch
While and Repeat While
For In
Control Transfer Statements
Guard

SWIFT PARADIGM
Programming Paradigms
Functions
Declaration of Functions
Generic Functions
Standard Functions
Scopes
Closures
Structures
Definition of Structures
Key Paths
Methods
Initialization
Computed Properties
Property Observers
Type Properties and Methods
Generic Structures
Primitive Type Structures
Range Structures
String Structures
Array Structures
Set Structures
Dictionary Structures
Enumerations
Raw Values
Associated Values
Objects
Definition of Objects
Type Properties and Methods
Reference Types
Self
Memory Management
Inheritance
Type Casting
Initialization
Deinitialization
Access Control and Modifiers
Singletons
Protocols
Definition of Protocols
Generic Protocols
Swift Protocols
Extensions
Delegates
Errors
Throwing Errors
Handling Errors
Results

CONCURRENCY
Asynchronous and Concurrent Tasks
Tasks
Async and Await
Errors
Concurrency
Actors
Main Actor
Asynchronous Sequences
Task Group
Asynchronous Images

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