SwiftUI - Support Prior iOS Versions - Backward Compatibility - #available @seanallen
SwiftUI - Support Prior iOS Versions - Backward Compatibility - #available  @seanallen
Uploaded September 2024 | Updated September 2026, 40 minutes ago
Go to squarespace.com/seanallen to save 10% off your first purchase of a website or domain using code SEANALLEN.

It's always nice to play with the new SwiftUI APIs in iOS 18 and beyond. But how do you do that AND support iOS 17, iOS 16, iOS 15, etc... In this video I demonstrate how to use new SwiftUI Views and Modifiers while also provided backward compatibility for those on older versions of iOS using the #available keyword in Swift.

This technique also apples to watchOS, macOS, tvOS, and visionOS.

My iOS Dev Courses:
seanallen.teachable.com/?video=6SUgEBDs1C8

My Source Code:
seanallen.teachable.com/p/source-code-youtube-videos?video=6SUgEBDs1C8

X (Twitter):
Sean Allen - twitter.com/seanallen_dev

Hired.com:
hired.com/x/1n01g

Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):

Antoine Van Der Lee - Going Indie Course:
courses.avanderlee.com/p/from-side-project-to-going-indie?affcode=2082304_o9res6rn

Helm (25% Discount) - The all-in-one macOS app that enhances App Store Connect, supercharging your app updates, localization, and ASO with AI-powered tools.
gumroad.com/a/692357651/ymbbmh

Mark Moeyken’s SwiftUI Books:
bigmountainstudio.com/a/fzc51

Paul Hudson's Hacking With Swift:
gumroad.com/a/762098803

RocketSim - Enhance Your Xcode Simulator:
gumroad.com/a/51797971/ftvbh

Objc.io Books (Thinking in SwiftUI & Advanced Swift):
gumroad.com/a/656585843

Timestamps:
0:00 - #available
0:17 - Basic UI & Minimum Target
1:12 - Use #available
2:33 - Multiple iOS Version Support
3:32 - iOS, macOS, watchOS etc…
4:19 - SwiftUI Modifiers - Part 1
6:48 - SwiftUI Modifiers - Part 2
8:15 - iOS Dev Portfolios

#swift #softwaredeveloper #iosdeveloper
SwiftUI - Support Prior iOS Versions - Backward Compatibility - #availableXcode Tip - Vertical Code Selection #iosdeveloper #swift #xcodeMy New Way To Create App Store ScreenshotsThe Secret to Doubling App Store Conversions in iOS 26visionOS 3D content in SwiftUI | Xcode | SplineHow to Choose the RIGHT Indie App to BuildSoftware Dev Tips - It Gets Easier... #shortsDynamic Island, Swift 5.7, HIG Updates, Apple Watch Ultra & More!Xcode Tip - Fix Spelling Errors in Your Code #iosdeveloper #swift #xcodeIndie Dev Tip - Minimize Complexity.SwiftUI Pie & Donut Charts - New in iOS 17SwiftUI Maps - iOS 17 - Look Around, User Location, Directions, Markers & Annotations, Map Styles
Sean Allen |

SwiftUI - Support Prior iOS Versions - Backward Compatibility - #available

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER