Omar Elsayed

Omar Elsayed iOS Articles & Videos

Curated content from
Omar Elsayed
iOS software engineer who digs into Swift internals and app architecture. Creator of SwiftDifferently blog and workshops.

Latest resources

How Do You Build a Mutex That Works with async/await ?

June 2, 2026

A couple of days ago I ran into a really interesting use case: I wanted to protect a method from being called more than once at a time. You might think "actor, done" — but nope, an actor won't save you here.

Because of actor reentrancy, the moment your method hits an await and suspends, another task can sneak in and start running the same method.

Modern Isn't a Value. Fit Is.

May 23, 2026

I got halfway through the manager before something started to feel off. I had AsyncStreams feeding into completion handlers feeding back into delegate methods. I had bridges on top of bridges. The "modern" code I was writing was making the rest of the system harder to read, not easier.

And then it clicked: I had built a beautiful Tesla engine and was now trying to bolt it onto a horse carriage.

Finally found a use case for .fixedSize

May 9, 2026

The article describes a horizontal ScrollView with cards of varying heights. The goal was to make all cards match the height of the tallest one. Using .frame(maxHeight: .infinity) alone caused each card to stretch to the full screen height because the HStack had no height constraint. The solution was adding .fixedSize(horizontal: false, vertical: true) to the HStack, which tells it to ignore the parent's height proposal and size itself to its ideal content height (the tallest card). The two modifiers work together: .fixedSize sets the correct container height, and .frame(maxHeight: .infinity) fills it.

About
Omar Elsayed

Omar Elsayed is an iOS software engineer and photographer. SwiftDifferently started as a place to collect his thoughts while learning iOS development and slowly grew into a space for sharing everything he has discovered along the way. Created by Omar, this site reflects his curiosity as an iOS software engineer who enjoys digging beneath the surface to understand how things truly work, from Swift internals to the architectural decisions behind well crafted apps. Coding for Omar is closely connected to photography; both reward patience, perspective, and attention to detail. That mindset shapes how he writes, teaches, and builds. SwiftDifferently exists because knowledge feels incomplete when it is kept to yourself, and this is his way of passing it forward through blogs and workshops. If you are curious to see the creative side that lives outside of code, you can also visit his photography website and explore the stories he tells through images.

In partnership with
Looking for your next iOS opportunity?

Join the Mobile Signal Talent Directory and make your profile visible to hiring teams searching for iOS talent.

Join the Directory
© 2026 Mobile Signal. All rights reserved.
Made by
Stan
linkedin