iOS Development, with Swift
and Xcode
By wanleung (20th Feb 2020)
iOS Development
Native code:
Objective-C, Swift
UI: Storyboard, SwiftUI (default)
Swift
https://docs.swift.org
The Base
if else
Break
Continue
switch
Function / Method
Class / Struct
Error handling
Array
Dictionary
Library
Libraries are not open-sourced
Only the swift foundation is opensourced.
So, need XCode IDE, and XCode is only on MacOSX
Library
Cocoa UI - NSxxx
UIKit - UIxxx
CoreData - CDxxx
...
UIKit
UIViewController
UITableViewController
UIAlertViewController
UINavigationController
UIImage
UITextField
UILabel
Design Pattern
is a general, reusable solution to a commonly occurring
problem within a given context in software design. It is not a
finished design that can be transformed directly into source or
machine code. Rather, it is a description or template for how
to solve a problem that can be used in many different
situations. Design patterns are formalized best practices that
the programmer can use to solve common problems when
designing an application or system.
ISBN-13: 978-0201633610
ISBN-10: 0201633612
Observer Pattern
MVC
Model - Data
View - UI / Print out
Controller - method and logic to control the models and views.

iOS Development, with Swift and XCode