iOS
The great migration: from SwiftUI to ObjC
The chat is born in SwiftUI: elegant, declarative, modern. And slow. The keyboard appears and disappears like a ghost,
and nothing hurts more than something that almost works:
"Usato UIkit per chat da risolvere problema tastiera fantasma"
On December 28th 2025, the first attempt to switch to UIKit. Then months of hybrid coexistence: SwiftUI wrapping UIKit calling back into SwiftUI.
On March 7th, the crash that breaks all patience:
"il datasource rows e il batch update non restano coerenti e UIKit abortisce con SIGABRT"
On March 20th, the radical decision: rewrite the entire chat in Objective-C. Not Swift, not SwiftUI. Objective-C. The language of the grandparents. But UICollectionView
in ObjC has no bridge overhead, none of SwiftUI's layout quirks, no ghosts. In 4 days, 20 commits take the chat from SwiftUI to ObjC: bubbles, input bar, emoji,
replies, thumbnails, video, tappable links, music player, native media viewer.
The result: smooth scrolling, zero jank, zero crashes. Sometimes progress means going backwards.