#iosdev
2 posts found
Goodbye to #if os(macOS): A Journey of 'Pain and Rebirth' in SwiftUI Multi-platform Architecture
Initially, I put iOS/macOS under one target for convenience, but as complexity grew, the code became riddled with unmaintainable conditional compilation. Here's how I performed a major refactoring by physically isolating the UI layers.
Bug Analysis: SwiftUI navigationTransition Issues in Real-World Projects
While implementing Hero animations using SwiftUI navigationTransition in EXIF Master, a critical issue was discovered where the source photo disappears after navigation back. This was confirmed to be a long-standing bug in the official framework.