Tag
SwiftUI.
22 posts tagged "SwiftUI".
Coin Flip Game
A small SwiftUI coin-flip game from end to end.
December 2021
Class Inheritance vs Protocols
When to reach for class inheritance and when to reach for protocols in Swift.
December 2021
Easy Machine Learning on iOS
Recognise foods with CoreML in around a hundred lines of Swift.
August 2021
Custom API Calls
A step-by-step walkthrough of building custom networking calls in SwiftUI.
November 2020
WidgetKit Intro
An introduction to WidgetKit and the code structure behind home-screen widgets.
October 2020
Fetching JSON from an API
Decode JSON into Swift types and render it in a SwiftUI view.
October 2020
Simple Core Data
The minimum amount of Core Data plumbing needed to persist data in SwiftUI.
2020
HTML String Rendering
Rendering HTML strings inside a SwiftUI view.
2020
Helicopter Game — Part 2
Finishing the helicopter game: collisions, scoring, and game over.
August 2020
Drawing the SpaceX Logo with Paths
Vector drawing in SwiftUI: recreating the SpaceX logo using Path.
2020
Spaceship Docking to the ISS
A small iOS game in SwiftUI inspired by SpaceX docking sequences.
2020
Object Collision Detection
A simple geometric collision-detection routine for SwiftUI games.
2020
Horizontal Page Indicator
A horizontally-scrolling page indicator component for SwiftUI.
2020
Creating Custom Colors
Defining custom colors and using them consistently across a SwiftUI app.
2020
Core Data CRUD App
A small CRUD app built on Core Data and SwiftUI, end to end.
July 2020
State & Binding
How @State and @Binding work in SwiftUI, and when to reach for each.
July 2020
Insert Element Mid-ForEach
Inserting elements into the middle of a SwiftUI ForEach loop without breaking layout.
2020
Simple Loading Animation
A clean loading animation built with native SwiftUI animation primitives.
2020
Helicopter Game — Part 1
Building a classic helicopter arcade game in SwiftUI. Part one of two.
July 2020
Drag Gesture
Handling drag gestures in SwiftUI.
July 2020
Tap Gesture
The basics of tap gesture recognition in SwiftUI.
July 2020
Random Colors
Generating random colors at runtime in SwiftUI.
July 2020
Don't miss the next one.
Subscribers get new videos before they go public, early looks at the hardware I'm building with, and first dibs on giveaways and launches when there's something to ship.
Get new posts, videos and announcements Get new posts and videos
Almost there — click the link in your inbox to confirm.