Advertisement · 728 × 90

Posts by Majid Jabrayilov

Post image

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.
swiftwithmajid.com/2024/04/02/t...

5 hours ago 4 1 0 0
Preview
Boost Performance 100x Accelerate Framework How we improved performance 100x in some parts of our Video SDK by using the Accelerate Framework.

I wrote an article about it a while ago, absolutely fascinating stuff

getstream.io/blog/acceler...

4 days ago 2 1 1 0
Post image

Apple introduced the Accelerate framework many years ago, so it is available almost on every version of Apple platforms. It is a high-performance and energy-efficient way of doing computations using the vector-processing capabilities of the device.
swiftwithmajid.com/2025/05/13/o...

4 days ago 6 0 2 0
Post image

Did you know that you can easily animate SF Symbols in your apps using the symbolEffect view modifier? I’ve used the heart symbol in my HeartRateView view and want it to bounce whenever its value changes to grab attention.
swiftwithmajid.com/2021/12/21/s...

6 days ago 5 1 0 0
Preview
Building List replacement in SwiftUI Whenever you consider creating a scrollable screen in SwiftUI, you might think of using a List. However, it’s not always the best choice. Lists are great for displaying uniform data. For anything…

📜 𝐵𝑢𝑖𝑙𝑑𝑖𝑛𝑔 𝑎 𝐿𝑖𝑠𝑡 𝑅𝑒𝑝𝑙𝑎𝑐𝑒𝑚𝑒𝑛𝑡 𝑖𝑛 𝑆𝑤𝑖𝑓𝑡𝑈𝐼 by Majid Jabrayilov (@mecid.bsky.social)

Build custom scrollable containers using ScrollView with lazy stacks and Container View APIs. Create reusable ScrollingSurface, DividedCard, and SectionedSurface components for full control over the UI.

#SwiftUI

1 week ago 2 2 0 0
Post image

SwiftUI provides a way to keep the structural identity of our view hierarchy while changing the layout container using the new AnyLayout type. SwiftUI doesn’t recreate the views. It only moves them according to the new layout.
swiftwithmajid.com/2022/08/16/c...

1 week ago 7 1 0 0
Post image

GeometryGroup view modifier isolates the geometry of the view and doesn’t animate every node of the view separately. Instead, it acts like a barrier and affects the whole view as a single item.
swiftwithmajid.com/2020/04/15/l...

1 week ago 3 1 0 0
Preview
Snapp iOS Weekly | Subscription I agree to receive your newsletters and accept the data privacy statement.

Authors:
@tracymiranda.bsky.social, @fatbobman.com, @natpanferova.bsky.social, @mecid.bsky.social, @0xwdg.bsky.social, Mark Szymczyk, Franz Enzenhofer, Hypersolo.

Never miss an issue → subscribe: ios-newsletter.snappmobile.io/subscribe

1 week ago 3 1 0 0

I’ve been generating 2-3 images using ImageCreator API and store them in the app state. iOS aggressively kill my app in background. Solved by storing images in temp directory.

1 week ago 2 0 0 0
Post image

List automatically decors NavigationLinks with a trailing chevron. To achieve this behaviour in ScrollView, we can implement a custom ButtonStyle and apply it to the whole ScrollView.
swiftwithmajid.com/2026/04/06/b...

1 week ago 6 0 0 0
Advertisement

It feels like Apple Foundational Model doesn’t follow instructions very well in the most recent iOS version.

1 week ago 3 0 1 0
Post image

Another interesting UI primitive I built is the SectionedSurface. It uses ForEach(sections:) which allows us to extract all the sections from the passed view and filter out the sections without content and add some paddings to section headers.
swiftwithmajid.com/2026/04/06/b...

1 week ago 4 0 0 0
Post image

Group(subviews:) is a part of SwiftUI Container View API. This initializer of the Group type allows us to decompose the view passed with a ViewBuilder closure and wrap the whole view with a background with rounded corners to make it feel like a card.
swiftwithmajid.com/2026/04/06/b...

1 week ago 7 1 0 0

Agree, use lists when uniform data, swipe actions and edit mode is needed.

1 week ago 0 0 0 0
Preview
Building List replacement in SwiftUI Whenever you consider creating a scrollable screen in SwiftUI, you might think of using a List. However, it’s not always the best choice. Lists are great for displaying uniform data. For anything…

Whenever you consider creating a scrollable screen in SwiftUI, you think of using a List. However, it’s not always the best choice. Lists are great for displaying uniform data. For anything else, a ScrollView with a lazy stack is almost always the best option.
swiftwithmajid.com/2026/04/06/b...

2 weeks ago 12 1 1 0
Post image

I use Container API in SwiftUI to create a custom List replacement with my own styling and precise control over its appearance. This allows us to decompose views and compose them by hiding the implementation details of our container views.
swiftwithmajid.com/2024/09/24/m...

2 weeks ago 4 1 0 0
Post image

Most of SwiftUI apps look same because they use List and its default styling. I've introduced the DesignSystem module in my apps containing custom stuff like headers, divided card, hero card, scrolling surface, etc.
swiftwithmajid.com/2022/01/12/m...

3 weeks ago 12 1 0 0
Preview
Introducing Jujutsu VCS I’ve been using Jujutsu VCS for a few months now, and it’s completely changed how I work with version control. No — it’s not a martial art — it’s a modern, Git-compatible version control system that…

In Jujutsu VCS you work with changes instead of commits, and those changes remain mutable until you push them to a remote. That means you can freely move between changes and edit them.
swiftwithmajid.com/2025/10/15/i...

3 weeks ago 5 0 0 1
Video

Did you know that you can add scope Guides to your code in Xcode 26.4? I didn’t know that until today. #Xcode #Swift

3 weeks ago 9 1 1 0
Advertisement
Preview
Apple Discontinues the Mac Pro In a move that should suprise no one, Apple discontinued the Mac Pro today. From Chance Miller at 9to5 Mac: It’s the end of an era: Apple has confirmed to 9to5Mac that the Mac Pro is being discontinued. It has been removed from Apple’s website as of Thursday afternoon. The “buy” page on Apple’s website for the Mac Pro

Apple Discontinues the Mac Pro www.macstories.net/linked/apple-discontinue...

3 weeks ago 7 2 2 1

Happy  26.4 release day, everyone!

macOS, visionOS, iOS, watchOS, tvOS

I assume Xcode 26.4 will be available soon too

3 weeks ago 2 1 0 0
Post image

Image Playground framework provides us a text-to-image functionality. The core of the framework is the ImageCreator type. The ImageCreator type supports a set of styles: animation, illustration and sketch. You can choose the one you need.
swiftwithmajid.com/2025/11/11/g...

4 weeks ago 1 0 0 0
Preview
WWDC26 Join the worldwide developer community online for a week of technology, creativity, and community.

Apple has announced WWDC 26. A week of technology, creativity, and community.
developer.apple.com/wwdc26/

4 weeks ago 4 0 0 0
Post image

The badge view modifier is available only for iOS and macOS. You can use the badge view modifier to generate and display a badge for your view. Keep in mind that only lists, tabs and toolbar items can display badges at the moment.
swiftwithmajid.com/2021/11/10/d...

4 weeks ago 3 1 0 0

thanks.

1 month ago 0 0 0 2
Post image

The StoreKitTest framework allows us to write tests for in-app product purchasing, refunding, and restoring features. You can cover almost every aspect of the in-app purchase with tests using the StoreKitTest framework.
swiftwithmajid.com/2024/01/09/s...

1 month ago 7 1 0 0

Today is what I consider my "Indie Day" when I first released an app on the App Store - 11 years ago now.

Happy Indie Day to everyone out there doing their own thing. It's not easy, but it's the best job ever. 🎈🎉

1 month ago 19 1 0 0
Preview
Write better code with Swift Algorithms Write faster, simpler, safer Swift code with this powerful open-source package.

compacted() replaces the common compactMap { $0 } pattern, product() eliminates nested for-loops, and uniqued() removes duplicates from any sequence. Apple's Swift Algorithms package is full of small wins like these. Have a look: www.hackingwithswift.com/articles/243...

1 month ago 23 4 2 0
Advertisement

What is so interesting here?

1 month ago 0 0 1 0
Post image

One of the benefits of the data-driven Navigation API is the programmatic navigation with deep-linking possibilities. SwiftUI maps values of the mutable collection into a view hierarchy and allows us to push and pop views into the NavigationStack programmatically.
swiftwithmajid.com/2022/06/21/m...

1 month ago 3 0 1 0