Simplifying Data Storage with CoreData in SwiftUI: A Hands-on Guide

As SwiftUI continues to gain popularity, developers are looking for efficient ways to manage data within their apps. CoreData, Apple’s powerful persistence framework, seamlessly integrates with SwiftUI, providing a robust solution for data storage. In this article, we will explore how to use CoreData in SwiftUI with practical examples, demonstrating its simplicity and effectiveness.
Continue reading

ios 15

After updating to iOS 15, probably you (like me) noticed some strange colors in your customized UINavigationBar. To fix this you need to add some code which works only in iOS 13 and above:

if #available(iOS 13.0, *) {
    let appearance = UINavigationBarAppearance()
    appearance.configureWithOpaqueBackground()
    appearance.backgroundColor = UIColor.green
    navigationBar.standardAppearance = appearance
    navigationBar.scrollEdgeAppearance = navigationBar.standardAppearance
}

If your app supports only iOS 13 and above, of course you can remove #available check.