Table of Contents

Table of Contents

CHAPTER 1 - APP DEVELOPMENT

1.1 Overview

1.2 Xcode

1.3 Development

Programming Languages

Frameworks and APIs

Compiler

CHAPTER 2 - INTRODUCTION TO SWIFT

2.1 Computer Programming

Playground

2.2 Variables

Memory

Primitive Data Types

Declaration and Initialization

Arithmetic Operators

Constants

2.3 Data Types

Characters

Strings

Booleans

Optionals

Tuples

2.4 Conditionals and Loops

If and Else

Switch

While and Repeat While

For In

Control Transfer Statements

Guard

CHAPTER 3 - SWIFT PARADIGM

3.1 Programming Paradigms

3.2 Functions

Declaration of Functions

Generic Functions

Standard Functions

Scopes

Closures

3.3 Structures

Definition of Structures

Key Paths

Methods

Initialization

Computed Properties

Property Observers

Type Properties and Methods

Generic Structures

Primitive Type Structures and Casting

Range Structures

String Structures

Array Structures

Set Structures

Dictionary Structures

3.4 Enumerations

Raw Values

Associated Values

Collection Difference

3.5 Objects

Definition of Objects

Type Properties and Methods

Reference Types

Self

Memory Management

Inheritance

Type Casting

Initialization

Deinitialization

Access Control and Modifiers

3.6 Protocols

Definition of Protocols

Generic Protocols

Swift Protocols

Extensions

Delegates

3.7 Errors

Throwing Errors

Handling Errors

CHAPTER 4 - INTRODUCTION TO FRAMEWORKS

4.1 Frameworks

Importing Frameworks

4.2 Foundation

Standard Functions

Strings

Ranges

Numbers

Dates

Measurements

Timer

Operation Queues

4.3 Core Graphics

Data Types

4.4 UIKit

Application

Device

Scenes

Windows

Views

CHAPTER 5 - XCODE

5.1 Interface

Xcode Projects

5.2 Template

Application Delegate

Scene Delegate

SwiftUI Files

Assets Catalog

Launching Screen

Info.plist File

CHAPTER 6 - SWIFTUI FRAMEWORK

6.1 User Interface

View Protocol

Opaque Types

Text View

Modifiers

Color View

Image View

Event Modifiers

Custom Modifiers

6.2 Layout

Stacks

Spacer

Safe Area

Priorities

Alignment Guides

Groups

Additional Views

Custom Views

6.3 Previews

Preview Modifiers

Environment

CHAPTER 7 - DECLARATIVE USER INTERFACE

7.1 States

Property Wrappers

@State

@Binding

@Environment

7.2 Model

Observable Object

@EnvironmentObject

7.3 View Model

7.4 Combine Framework

Publishers

Subscribers

Transforming Values

Operators

Subjects

Combine and SwiftUI

CHAPTER 8 - CONTROLS

8.1 Control Views

Button View

TextField View

SecureField View

Toggle View

Slider View

Stepper View

CHAPTER 9 - NAVIGATION

9.1 Multiple Views

NavigationView View

NavigationLink View

TabView View

9.2 Modal Views

Sheets

Popovers

Alert Views

Action Sheets

9.3 Split Views

Custom Navigation

9.4 Orientation

Size Classes

Interface Orientation

GeometryReader View

Preferences

9.5 Mac Catalyst

IPad Apps on the Mac

Conditional Code

Menu

Multiple Windows Support

CHAPTER 10 - LISTS

10.1 Lists of Views

ForEach View

ScrollView View

10.2 List View

Sections

Edition Mode

Custom Buttons

Search

Navigation

10.3 Pickers

Picker View

DatePicker View

10.4 Forms

Form View

CHAPTER 11 - GRAPHICS AND ANIMATIONS

11.1 Shapes

Common Shapes

Gradients

Images

11.2 Paths

Path View

Custom Shapes

11.3 Transformations

11.4 Animations

Transitions

CHAPTER 12 - GESTURE RECOGNIZERS

12.1 Gestures

Gesture Modifiers

Hit Testing

Gesture Structures

Tap Gesture

Long Press Gesture

Drag Gesture

Magnification Gesture

Rotation Gesture

Composing Gestures

CHAPTER 13 - NOTIFICATIONS

13.1 Notification Center

System Notifications

13.2 User Notifications

User Notifications Framework

Notification Groups

Provisional Notifications

User Notifications Delegate

CHAPTER 14 - STORAGE

14.1 User Preferences

User Defaults

14.2 Files

File Manager

URLs and Paths

Files and Directories

Files Attributes

Files Content

Bundle

14.3 Archiving

Encoding and Decoding

JSON

14.4 Core Data

Data Model

Core Data Stack

Fetch Request

Working with Core Data

Sort Descriptors

Predicates

Delete Objects

Modify Objects

Custom Fetch Requests

Sections

CHAPTER 15 - ICLOUD

15.1 Data in the Cloud

Enabling iCloud

Testing Devices

15.2 Key-Value Storage

15.3 iCloud Documents

Metadata Query

Single Document

Multiple Documents

15.4 CloudKit

Container

Records

Zones

Query

Operations

Batch Operations

References

CloudKit Dashboard

Implementing CloudKit

Assets

Subscriptions

Errors

CloudKit and Core Data

Deploy to Production

CHAPTER 16 - FRAMEWORK INTEGRATION

16.1 Integration with UIKit

Representable View

Representable View Controller

Styles

Appearance

16.2 Text View

Text View in SwiftUI

Updating the View

Coordinator

Selection

Attributed Text

Keyboard

16.3 Web

Links

Safari View Controller

WebKit Framework

Web Content

16.4 MapKit

Configuring the Map

Annotations

User Location

Search

Directions

16.5 Media

Camera

Photo Library

Modifying Pictures

Custom Camera

AVKit Framework

Custom Video Player

16.6 Collection Views

Collection View

Collection View Cells

Index Paths and Identifiers

Flow Layout

Collection View Delegate

Data Source

Implementing Collection Views

Scroll Direction

Adding Items

Selection

Supplementary Views

Constraints

Custom Layout

Collection Views and Core Data

CHAPTER 17 - APP STORE

17.1 Publishing

Apple Developer Program

Certificates, Provisioning Profiles, and Identifiers

App Store Connect

Submitting the Application

Discussion

1 comments