Deep linking for local notifications in SwiftUI
Swift with Majid
by Majid Jabrayilov
5d ago
Notifications are crucial for keeping users engaged with your app. Almost all of my apps provide notifications that not only launch the app but also navigate to different parts of the app. Today, I want to share how I build deep links for local notifications in my apps. Enhancing the Xcode Simulators. Compare designs, show rulers, add a grid, quick actions for recent builds. Create recordings with touches & audio, trim and export them into MP4 or GIF and share them anywhere using drag & drop. Add bezels to screenshots and videos. Try now SwiftUI introduced the onOpenURL view modifier t ..read more
Visit website
Trigger value pattern in SwiftUI
Swift with Majid
by Majid Jabrayilov
1w ago
The recent version of the SwiftUI framework introduces a trigger value pattern across its APIs. Trigger value allows us to attach a view modifier that runs its action whenever the trigger value changes. You can find this pattern while using sensory feedback or launching keyframe animation in SwiftUI. This week, we will learn how to build custom view modifiers using trigger value pattern. Enhancing the Xcode Simulators. Compare designs, show rulers, add a grid, quick actions for recent builds. Create recordings with touches & audio, trim and export them into MP4 or GIF and share them anywhe ..read more
Visit website
Building async button in SwiftUI
Swift with Majid
by Majid Jabrayilov
2w ago
Swift Concurrency became a vital part of my development stack. I leverage the power of the new Swift Concurrency features like async/await and task groups almost everywhere. SwiftUI Button type doesn’t support Swift Concurrency out of the box, but it is flexible enough to allow us to build a button type supporting Swift Concurrency. Enhancing the Xcode Simulators. Compare designs, show rulers, add a grid, quick actions for recent builds. Create recordings with touches & audio, trim and export them into MP4 or GIF and share them anywhere using drag & drop. Add bezels to screenshots and ..read more
Visit website
Global actors in Swift
Swift with Majid
by Majid Jabrayilov
1M ago
The Swift language allows us to define thread-safe types using actors. Actor type automatically manages serial access to the data it protects. But what if we need multiple types protected by a single serial access queue? That’s why we have global actors, and today, we will learn how to use global actors in Swift. Enhancing the Xcode Simulators. Compare designs, show rulers, add a grid, quick actions for recent builds. Create recordings with touches & audio, trim and export them into MP4 or GIF and share them anywhere using drag & drop. Add bezels to screenshots and videos. Try now The ..read more
Visit website
Discovering Swift Async Algorithms package
Swift with Majid
by Majid Jabrayilov
1M ago
Another week on a series of posts about discovering Swift packages. This week, we will discover the Swift Async Algorithms package, allowing us to completely switch from the Combine framework to the Swift Concurrency feature with async/await. We will learn what the Swift Async Algorithms package offers to eliminate the Combine framework. Enhancing the Xcode Simulators. Compare designs, show rulers, add a grid, quick actions for recent builds. Create recordings with touches & audio, trim and export them into MP4 or GIF and share them anywhere using drag & drop. Add bezels to screenshots ..read more
Visit website
Discovering Swift Collections package
Swift with Majid
by Majid Jabrayilov
1M ago
I want to continue the topic of the valuable Swift packages that I use in my apps. This time, we will talk about the Swift Collections package, providing us with a bunch of helpful collection types that Swift language doesn’t include out of the box. Enhancing the Xcode Simulators. Compare designs, show rulers, add a grid, quick actions for recent builds. Create recordings with touches & audio, trim and export them into MP4 or GIF and share them anywhere using drag & drop. Add bezels to screenshots and videos. Try now The Swift Collections package contains a few collection types that ma ..read more
Visit website
Discovering Swift Algorithms package
Swift with Majid
by Majid Jabrayilov
2M ago
Almost every app I built and supported includes the Swift Algorithms package. However, I noticed that only some developers are familiar with it. Today, we will discover what the Swift Algorithms package offers us to write better, safer code for complex algorithms. Enhancing the Xcode Simulators. Compare designs, show rulers, add a grid, quick actions for recent builds. Create recordings with touches & audio, trim and export them into MP4 or GIF and share them anywhere using drag & drop. Add bezels to screenshots and videos. Try now Reason You can write every algorithm from the Swift Al ..read more
Visit website
VisionOS ornaments in SwiftUI
Swift with Majid
by Majid Jabrayilov
2M ago
The new Apple Vision Pro device is almost here, and SwiftUI is the best way to build a visionOS app quickly and natively. This week, we will continue the topic of the new SwiftUI APIs that we can use to adapt our apps to visionOS. We will learn about the new user interface component called ornaments. Enhancing the Xcode Simulators. Compare designs, show rulers, add a grid, quick actions for recent builds. Create recordings with touches & audio, trim and export them into MP4 or GIF and share them anywhere using drag & drop. Add bezels to screenshots and videos. Try now In visionOS, an o ..read more
Visit website
Introducing SwiftUI on visionOS
Swift with Majid
by Majid Jabrayilov
2M ago
Apple Vision Pro is coming soon, and it is the perfect time to look at SwiftUI API, which allows us to adapt our apps to the immersive world that visionOS provides us. Apple states that the best way to build an app is with Swift and SwiftUI. This week, we will learn how to use SwiftUI to build a visionOS app. Enhancing the Xcode Simulators. Compare designs, show rulers, add a grid, quick actions for recent builds. Create recordings with touches & audio, trim and export them into MP4 or GIF and share them anywhere using drag & drop. Add bezels to screenshots and videos. Try now Windows ..read more
Visit website
StoreKit testing in Swift
Swift with Majid
by Majid Jabrayilov
3M ago
The second iteration of the StoreKit framework was the most significant change in my apps during the last few years. The recent version of the StoreKit framework has fully adopted Swift language features like async and await. This week, we will talk about the StoreKitTest framework, which is not a part of StoreKit 2 but is tightly coupled with it. Enhancing the Xcode Simulators. Compare designs, show rulers, add a grid, quick actions for recent builds. Create recordings with touches & audio, trim and export them into MP4 or GIF and share them anywhere using drag & drop. Add bezels to s ..read more
Visit website

Follow Swift with Majid on FeedSpot

Continue with Google
Continue with Apple
OR