SwiftUI broken chain of modifiers — Neither a bug nor a feature
<p>I shared a post on LinkedIn last week regarding an “<a href="https://www.linkedin.com/posts/zzmasoud_xcode15-xcode-ios-activity-7121652824249167872-64ZF?utm_source=share&utm_medium=member_desktop" rel="noopener ugc nofollow" target="_blank"> Unknown Xcode 15 bug when using SwiftUI</a>”. It received a significant number of views, suggesting that many people share my view that it might be a bug. I’ve decided to investigate it further and arrive at a conclusion.</p>
<p>First of all, I want to correct myself, it’s not a new issue, it’s not related to the release of Xcode 15, and may have been around since the beginning of SwiftUI, but I’ve never come across it before.</p>
<p>For the sample code, I just used a view from <a href="https://developer.apple.com/tutorials/app-dev-training/getting-started-with-scrumdinger" rel="noopener ugc nofollow" target="_blank">Apple’s Scrumdinger</a>. You can copy and paste, and follow with me:</p>
<p><a href="https://medium.com/@zzmasoud/swiftui-broken-chain-of-modifiers-neither-a-bug-nor-a-feature-057e4699edd1"><strong>Click Here</strong></a></p>