#SwiftTips
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
June 4, 2025 at 6:44 AM
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
Validate SwiftUI Forms with a Custom @Validate Property Wrapper
YouTube video by azamsharp
youtu.be
March 24, 2025 at 4:17 PM
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
December 16, 2024 at 4:38 PM
In this tip, what is .require(hint:)? And how can I replicate it without externally pulling in whatever it is? https://github.com/JohnSundell/SwiftTips#28-defining-static-urls-using-string-literals
GitHub - JohnSundell/SwiftTips: A collection of Swift tip...
A collection of Swift tips & tricks that I've shared on T...
github.com
November 23, 2024 at 3:47 PM