登入選單
返回Google圖書搜尋
Introduction to Swift 5.6
註釋

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.6 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.6 | iOS 15 | Xcode 13


Table of Contents


INTRODUCTION TO SWIFT

Computer Programming

Programming Languages

Xcode

Playground

Variables

Memory

Primitive Data Types

Declaration and Initialization

Arithmetic Operators

Constants

Data Types

Characters

Strings

Booleans

Optionals

Tuples

Conditionals and Loops

If and Else

Switch

While and Repeat While

For In

Control Transfer Statements

Guard


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

Collection Difference

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.