Post

Replies

Boosts

Views

Activity

Reply to floating keyboard doesn't send keyboard notifications
It's in an existing application, so the change actually breaks some functionality.In the app on the store, certain on-screen buttons are disabled when the keyboard appears. They're re-enabled when you press submit, dismissing the keyboard. Since the notifications are no longer sent, those buttons never get re-enabled.Basically, the text entry is a modal operation, and the existing code relies on those notifications to exit that mode. Might not be the best design, but I didn't write the original code.
Feb ’20
Reply to SwiftUI binding dynamic array problem
Hmm, ok, that suggests to me that the problem isn't in this construction itself, but something further up.As I hinted, but should've made more explicit, the [Check] is a property on another struct. The larger structure has some pretty deeply-nested subviews, too much to put in a forum post, so I was hoping this small snippet would be enough to highlight what was going wrong. It wasn't – but since this works, I'm thinking I might be able to slowly grow out from this & poinpoint the problem.
May ’20
Reply to SwiftUI binding dynamic array problem
Hey, greay, did you ever find a solution for your problem? I'm having a similar problem with an app I'm working on where I have a one-and-done binding that functions as expected the first time, but then doesn't fire again upon changes. Any guidance would be greatly appreciated. :) No, I ended up moving completely away from SwiftUI because I need to support older versions of macOS.
Oct ’20