Trending

#SwiftTips

Latest posts tagged with #SwiftTips on Bluesky

Latest Top
Trending

Posts tagged #SwiftTips

Post image

New module: Advanced Error Handling with Result Types: www.kodeco.com/ios/paths/advanced-swift...

#SwiftLang #iOSDev #AdvancedSwift #SwiftTips #AppDevelopment #SwiftUI #Kodeco #LearnSwift #MobileDevelopment

2 0 0 0
Post image

Recently, I learned that, although you create multiple UserDefaults instances, they all point to the same storage.
But there's no need to serialize access to the suite, you can take advantage of parallelization. Just initialize each instance with a suite name.
#iOSDev #SwiftTips

1 0 0 0
Validate SwiftUI Forms with a Custom @Validate Property Wrapper
Validate SwiftUI Forms with a Custom @Validate Property Wrapper YouTube video by azamsharp

Tired of messy SwiftUI form validation? 🤯

Learn how to use a custom @Validate property wrapper to apply multiple validation rules per property — all clean, reusable, and elegant.

📹 Watch now: youtu.be/YUq34LsIhFE

#SwiftUI #iOSDev #SwiftLang #SwiftTips

1 0 0 0

iOS vs. macOS UserDefaults Tip:

iOS Simulator: Deleting the app also deletes its UserDefaults.

macOS (e.g., Status Bar Apps): To delete UserDefaults, run this in Terminal: defaults delete your.app.bundle.id

#iOSDev #macOSDev #SwiftTips

3 0 0 0