@Observable in SwiftUIThe @Observable macro, introduced at WWDC 2023 and supported from iOS17 onwards, it replaces ObservableObject and @Published properties. It…Sep 14Sep 14
DynamicProperty in SwiftUIIn SwiftUI, we have property wrappers like @State, @StateObject, and @AppStorage. Additionally, we can create our own custom property…Aug 272Aug 272
Consume operator in Swift 5.9In Swift 5.9 we got new operator consume which helps us to handle Copy On Write (COW) data structures and reduce retain/release calls.Jan 81Jan 81
Repeat loop in SwiftAs we know we having for loop and while loop in swift for writing loops but also we have repeat loop.Dec 24, 2023Dec 24, 2023
KeyboardLayoutGuide in iOS15*Apple says A layout guide that tracks the keyboard’s position in your app’s layout.Sep 24, 20231Sep 24, 20231
CollectionOfOne in SwiftApple says: You can use a CollectionOfOne instance when you need to efficiently represent a single value as a collection.Jul 4, 2023Jul 4, 2023
Merge policy in Core DataFirst question how to prevent duplicate entries in core data?Apr 21, 2023Apr 21, 2023
Import Specific Module in SwiftWe use to import modules in our Swift file like:Aug 14, 2022Aug 14, 2022
Break outer loop in SwiftMany times we have to use multiple loops in our project like below: -Jun 4, 20221Jun 4, 20221