Majid Jabrayilov's Avatar

Majid Jabrayilov

@mecid.bsky.social

Swift Developer: iOS, watchOS, visionOS, tvOS, macOS. https://swiftwithmajid.com

1,646 Followers  |  587 Following  |  419 Posts  |  Joined: 16.11.2024  |  2.1831

Latest posts by mecid.bsky.social on Bluesky

Preview
Optimize your app's speed and efficiency | Meet with Apple Join us online to learn how to elevate your app experience by maximizing performance and resolving inefficiencies. Whether youโ€™re optimizing an existing app ...

I highly recommend this talk by Apple. While writing SwiftUI code is relatively easy, optimizing it has become increasingly challenging in recent times.
www.youtube.com/live/yXAQTIK...

31.10.2025 16:21 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Optimize your app's speed and efficiency | Meet with Apple
YouTube video by Apple Developer Optimize your app's speed and efficiency | Meet with Apple

Here's the YouTube link for the Apple Developer event:

Optimize your app's speed and efficiency | Meet with Apple
www.youtube.com/watch?v=yXAQ...

#AppleDeveloper #iOSDev #SwiftUI

30.10.2025 19:24 โ€” ๐Ÿ‘ 6    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

TIL the @.Observable macro doesn't trigger updates for equatable properties starting with iOS 26. But for prior releases, we have to manually check equality for the object properties to improve our app performances.

Thank you for the tip Steven!

30.10.2025 18:37 โ€” ๐Ÿ‘ 11    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

It depends on your activity. I work on two apps and run both tests and releases on Xcode Cloud. Twenty-five hours is not enough for me.

30.10.2025 14:50 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Thatโ€™s a great idea. Iโ€™ve also been considering using Xcode Cloud exclusively for releasing.

30.10.2025 13:20 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

The Accelerate framework contains a collection of APIs for digital signal processing called vDSP. It provides tons of highly optimized functions for operations on large data collections.
swiftwithmajid.com/2025/05/13/o...

30.10.2025 10:23 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

You can use searchToolbarBehavior(.minimize)

30.10.2025 00:50 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
SwiftUI Performance - How to use UIKit Nowadays, Apple platform development has undergone significant changes. Previously, we believed that building the core of an app around UIKit and using SwiftUI for certain screens was a good idea.โ€ฆ

For modern apps targeting iOS 16 and above, I recommend building the core of the app using SwiftUI and incorporating UIKit in certain parts where SwiftUIโ€™s performance may not meet your expectations, like using compositional layout with collection views.
swiftwithmajid.com/2025/03/04/s...

27.10.2025 09:33 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Why Jujutsu is a step up from Git There's a new, hot version control system that replaces Git called Jujutsu (jj). I started to use Jujutsu a couple of months ago, during my summer vacation. I had read posts online from a lot of peopl...

"Why #jj-vcs is a step up from git"

www.danopcode.com/why-jujutsu-...

23.10.2025 18:35 โ€” ๐Ÿ‘ 52    ๐Ÿ” 4    ๐Ÿ’ฌ 5    ๐Ÿ“Œ 2
Preview
Adopting Jujutsu Iโ€™ve always loved the safety net that a VCS like Git provides, but Iโ€™ve never loved gitโ€™s user interface/experience, nor the mental model that Iโ€™ve tried to hold in my head while Iโ€™m using it. Jujutsu...

I've been trying to use Jujutsu lately and I wanted to write about how I transitioned from my Git workflow. I hope you find it useful!

baxter.sh/adopting-juj...

#jj-vcs

24.10.2025 11:22 โ€” ๐Ÿ‘ 3    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

Congrats! Well deserved.

23.10.2025 22:29 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Introducing Jujutsu VCS. Edit Workflow. The absence of a staging area and automatic rebases makes our usage of Jujutsu VCS significantly different from what we used to do in Git. There are several popular workflows within the Jujutsu VCSโ€ฆ

Jujutsu VCS differs from Git in several ways, including the absence of a staging area and automatic rebases. The community has several popular workflows, and this week, Iโ€™ll discuss my daily workflow, called the edit workflow.
swiftwithmajid.com/2025/10/22/i...

23.10.2025 08:30 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Your SwiftUI views keep growing.

You tidy up with extensions, but it still feels messy.

How do you scale SwiftUI without chaos?

Hereโ€™s how I approach clean, reusable architecture ๐Ÿ‘‡

https://www.avanderlee.com/swiftui/swiftui-architecture-structure-views-for-reusability-and-clarity/

22.10.2025 08:29 โ€” ๐Ÿ‘ 8    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

The ViewThatFits view is easy to use. You donโ€™t need to measure space or calculate if a view fits. Simply create an instance and place children views. It automatically measures space and childrenโ€™s sizes and selects the first fitting view.
swiftwithmajid.com/2022/07/26/v...

22.10.2025 09:16 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Here is the solution. Thanks to @natpanferova.bsky.social

20.10.2025 20:33 โ€” ๐Ÿ‘ 22    ๐Ÿ” 3    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

The Container view API in SwiftUI enables you to restructure views. I was attempting to construct a dashboard view that accepts a view hierarchy and redefines it within a grid using my custom logic.
swiftwithmajid.com/2024/10/01/m...

20.10.2025 09:47 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

How to place toolbar buttons on the leading and trailing of the search bar?

20.10.2025 09:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Preview
Multiple buttons in SwiftUI List rows Buttons inside a List row can cause the entire row to become tappable and trigger multiple buttons at once, but applying a specific button style ensures each button works independently.

Buttons inside a SwiftUI List row can cause the entire row to become tappable and trigger multiple buttons at once, but applying a specific button style ensures each button works independently: nilcoalescing.com/blog/Multipl...
#SwiftUI #iOSDev

18.10.2025 23:13 โ€” ๐Ÿ‘ 16    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Oh, Iโ€™m preparing a dedicated post about jj flows.

19.10.2025 06:05 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
iPhone showing a SwiftUI sheet with a fantail bird description and a small X close button at the top right corner of the sheet. Code beside it shows using Button(role: .close) in iOS 26 to dismiss the view.

iPhone showing a SwiftUI sheet with a fantail bird description and a small X close button at the top right corner of the sheet. Code beside it shows using Button(role: .close) in iOS 26 to dismiss the view.

On iOS 26 we have a new `close` button role in SwiftUI to dismiss a view without losing the user's progress, unlike a cancel action. A convenient way to add a dismiss button for modals without the need to define a custom button label!
#SwiftUI #iOSDev

18.10.2025 08:22 โ€” ๐Ÿ‘ 32    ๐Ÿ” 5    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 1
Post image Post image

SwiftUI Tip ๐Ÿ’ก

Use .toolbarTitleDisplayMode(.inlineLarge) to show a large navigation title while keeping it inline โ€” perfect for compact layouts.

(iOS 17.0+)

โ†’ learnandcodewithenid.com

18.10.2025 16:44 โ€” ๐Ÿ‘ 7    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
iPhone Air vs iPhone 17 Pro Max Review โ€” The Paradox of Choice
YouTube video by AppleTLDR iPhone Air vs iPhone 17 Pro Max Review โ€” The Paradox of Choice

So I did something super scary today ๐Ÿ˜… And published my first full length YouTube video. An in depth one month review of the #iPhone17ProMax vs the #iPhoneAir

I had so much fun making it! If you feel like checking it out, I would really appreciate it!๐Ÿงƒ

youtu.be/b-Ze03wEzNw

18.10.2025 17:07 โ€” ๐Ÿ‘ 3    ๐Ÿ” 2    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

What do you want to see?

17.10.2025 12:58 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Introducing Jujutsu VCS Iโ€™ve decided to share my experience with Jujutsu VCS โ€” not a martial art, but a Gitโ€‘compatible version control system. Iโ€™ve switched to it for all my projects and have a lot to say.

In Jujutsu VCS, you work with mutable changes instead of commits. You can freely move between changes and edit them. Changes simplify history manipulation, making rebase, squash, and split everyday operations.
swiftwithmajid.com/2025/10/15/i...

17.10.2025 09:51 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
The person from the Vision Pro M5 release but their headband is now a hat

The person from the Vision Pro M5 release but their headband is now a hat

With the Vision Pro getting the dual headband now I just wish they'd fully commit and make a Vision Pro Hat

15.10.2025 21:29 โ€” ๐Ÿ‘ 92    ๐Ÿ” 7    ๐Ÿ’ฌ 6    ๐Ÿ“Œ 1
Preview
Introducing Jujutsu VCS Iโ€™ve decided to share my experience with Jujutsu VCS โ€” not a martial art, but a Gitโ€‘compatible version control system. Iโ€™ve switched to it for all my projects and have a lot to say.

Iโ€™ve decided to share my experience with Jujutsu VCS โ€” not a martial art, but a Gitโ€‘compatible version control system. Iโ€™ve switched to it for all my projects and have a lot to say.
swiftwithmajid.com/2025/10/15/i...

16.10.2025 09:30 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Hero animations are great that's why SwiftUI introduced the matchedTransitionSource view modifier. It works like a magic and allows us to preserve the geometry between views in the navigation stack.
swiftwithmajid.com/2020/12/17/h...

14.10.2025 09:52 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Slow Horses is the best show you're not watching

13.10.2025 16:07 โ€” ๐Ÿ‘ 9    ๐Ÿ” 2    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Post image

The visual effect is anything that can change the visual appearance of the view but doesnโ€™t affect its layout. visualEffect view modifier allows us to attach a set of animatable visual effects by accessing layout information of the particular view.
swiftwithmajid.com/2023/11/07/v...

13.10.2025 09:00 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
GitHub - jj-vcs/jj: A Git-compatible VCS that is both simple and powerful A Git-compatible VCS that is both simple and powerful - jj-vcs/jj

I finally got the time to check out Jujutsu today, and I absolutely LOVE it. It's a very powerful tool.

So many things that were difficult and/or tedious to do in Git are much, much easier to do. It really helps keep your project history clean and easy to understand.

github.com/jj-vcs/jj

05.10.2025 22:01 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@mecid is following 20 prominent accounts