ios development with swiftui - hackbcaios development with swiftui anthony li room 138 please...

30
iOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access. Download our sound and image files at hackbca.com/ios - you’ll be using them in this workshop.

Upload: others

Post on 04-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

iOS Development with SwiftUIAnthony Li Room 138

Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access.

Download our sound and image files at hackbca.com/ios - you’ll be using them in this workshop.

Page 2: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

Link

Page 3: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access
Page 4: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

Welcome

Anthony Li - https://anli.dev

ATCS ‘22

“The guy who made YourBCABus”

[HOME ADDRESS CENSORED]

Just download

it

Page 5: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

1 History

2 Introduction to Swift

3 Duck Clicker

4 hackBCA Schedule Viewer

Page 6: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

History

• 13.8 billion years ago, there was a Big Bang.

Page 7: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access
Page 8: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

1984

The Macintosh

OG GUI

Page 9: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

1984

John SculleySteve Jobs

Do you want to sell sugar water for the rest of your life, or do you want to

come with me and change the world?

Page 10: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

1984

Steve Jobs

sure i guess

John Sculley

btw ur fired now

1985

Page 11: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

1985

Steve Jobs

• Unix-based GUI! • Object-oriented programming! • Drag-and-drop app building! • First computer to host a web server!

ONLY $6,500!

Page 12: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

UNIX

AppKit Foundation

NeXTSTEP OS

Page 13: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

1997

Steve Jobs

btw ur hired now.

first give me a small loan of $429 million

Page 14: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

1997

Apple buys NeXT.

Page 15: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

UNIX

AppKit Foundation

Mac OS X

Page 16: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

2007

UNIX

AppKit Foundation

iPhone OS

“UIKit”

Page 17: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

2014

Objective-C

Swift

Page 18: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

2019

UIKitSwiftUI

Page 19: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

iOS

UNIX

Foundation Quartz

Objective-C

UIKit

Your Apps

Swift

SwiftUI

Page 20: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

1 History

2 Introduction to Swift

3 Duck Clicker

4 hackBCA Schedule Viewer

Page 21: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

1 History

2 Introduction to Swift

3 Duck Clicker

4 hackBCA Schedule Viewer

Page 22: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access
Page 23: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

View View

Text

Button

Button

List

ButtonImage

struct MyView: View

Page 24: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

1 History

2 Introduction to Swift

3 Duck Clicker

4 hackBCA Schedule Viewer

Page 25: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

Master Detail

Page 26: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

Master Detail

Page 27: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

Master Detail

Page 28: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

iOS

UNIX

Foundation Quartz

Objective-C

UIKit

Your Apps

Swift

SwiftUI

Page 29: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

SwiftUI UIKit

Page 30: iOS Development with SwiftUI - hackBCAiOS Development with SwiftUI Anthony Li Room 138 Please download Xcode! hackbca.com/ios While installing, ensure you have administrator access

MapKit: MKMapView UIKit-based