Working with UserDefaults in iOSFeatures The UserDefaults class provides access to the user's defaults database. It stores data persistently across the app launches as long as the app is installed. Access to the data is private to the app unless shared through App Groups. Acces...Dec 22, 2023 路 2 min readblog.shivammaggu.com
Offline Persistent Storage in iOS ApplicationsWhat is offline storage? It is a kind of storage not on a network but on a physical device. In regards to an iOS application, it means that the data generated or displayed by an app is not stored on or retrieved from a network. Instead, it resides lo...Dec 21, 2023 路 2 min readblog.shivammaggu.com
Understanding SwiftUI - Why are Views in SwiftUI Struct and not Class?Why SwiftUI prefers Struct over Class? SwiftUI Views are structs instead of classes. This avoids having multiple inherited properties, keeps them lightweight and improves performance. SwiftUI Views are passed by value. This avoids retain cycles and...Feb 26, 2023 路 3 min readblog.shivammaggu.com
Understanding SwiftUI - What is SwiftUI? 馃Requirements The minimum deployment target version is iOS 13 and above. SwiftUI development is supported by Xcode version 11 and above. The basics SwiftUI is a UI Design Framework just like its predecessor, the UIKit. It uses the Declarative pr...Feb 20, 2023 路 2 min readblog.shivammaggu.com
Processing payments using Stripe SDK iOSAim Open the inbuilt Address and Payment Sheet of Stripe and start accepting payments from your customer. Minimum iOS Deployment Version 12.0 Stripe Frameworks Stripe (22.8.4) StripeApplePay (22.8.4) StripeCore (22.8.4) StripeUICore (22.8.4) Re...Feb 8, 2023 路 9 min readblog.shivammaggu.com