Pawan Manjani·May 2Task.immediate in Swift 6.2Swift 6.2 has already been released, and I came across an interesting feature in it.
Pawan Manjani·Sep 14, 2024@Observable in SwiftUIThe @Observable macro, introduced at WWDC 2023 and supported from iOS17 onwards, it replaces ObservableObject and @Published properties. It…
Pawan Manjani·Aug 27, 2024DynamicProperty in SwiftUIIn SwiftUI, we have property wrappers like @State, @StateObject, and @AppStorage. Additionally, we can create our own custom property…A response icon2A response icon2
Pawan Manjani·Jan 8, 2024Consume 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.A response icon1A response icon1
Pawan Manjani·Dec 24, 2023Repeat loop in SwiftAs we know we having for loop and while loop in swift for writing loops but also we have repeat loop.
Pawan Manjani·Sep 24, 2023KeyboardLayoutGuide in iOS15*Apple says A layout guide that tracks the keyboard’s position in your app’s layout.A response icon1A response icon1
Pawan Manjani·Jul 4, 2023CollectionOfOne in SwiftApple says: You can use a CollectionOfOne instance when you need to efficiently represent a single value as a collection.
Pawan Manjani·Apr 21, 2023Merge policy in Core DataFirst question how to prevent duplicate entries in core data?
Pawan Manjani·Aug 14, 2022Import Specific Module in SwiftWe use to import modules in our Swift file like:
Pawan Manjani·Jun 4, 2022Break outer loop in SwiftMany times we have to use multiple loops in our project like below: -A response icon1A response icon1