@mathiasemil it should be way easier than it currently is. Will definitely share thoughts properly at some point!
@belovedmelody I've changed the image :-)
@belovedmelody ahh I hadn't seen. Apologies if any offence caused.
@belovedmelody oh?
@dominic slight hold up with iPad, hopefully not much longer 🤞
@dimitribouniol not sure if it’s still the case now, but when we worked on earthquake alerts with the Red Cross/USGS the shake resolution started out very low and covered a wide area. After about 5/10 minutes it was much more precise, but was too late to use as part of the notification pipeline.
Alarm fatigue is real though and was by far the number one complaint we got!
As of beta 6 it seems to be reporting the wrong value if more than one row is selected on iPad.
I've filed a feedback for any Apple folk who see this 👉 FB13014204
Happy to see iOS 17 now gives our views a way to respond to the List selection style.
By reading the backgroundProminence value in the environment our custom controls, say an unread indicator, can adjust their tint as not to be occluded by the background: https://gist.github.com/phillipcaudell/e2ca686fcd6744b8341ac54f240a7798
@ryanlintott yeah that part is okay (I set it with the focussed value), the issue is the keyboard shortcut itself has already been taken by the system, but there seems to be no way to access it ☹️
@marksmith yeah I wondered that too, but even without a keyboard presented/connected it still complains. I thought maybe TextEditingCommands() was adding some, but it doesn’t look like it. Perplexing!
Blahhh, it also looks like toolbar customisations are reset when the view identity changes. It works on iPad so I’m not sure if it's intentional (plus seems like it would defeat the purpose of specifying a toolbar identifier?)
No customisation on the Mac for now then 😢
https://gist.github.com/phillipcaudell/503ea2d3e2e7101b41a44f1c747387ad
@curtclifton this is on Ventura 13.4.1 (I can try on 13.5.1 when I restart later)
Here's a fun SwiftUI bug: customisable toolbars on the Mac won't persist changes if there's a searchable modifier in the view hierarchy. Remove search, works fine.
🤷♂️
https://gist.github.com/phillipcaudell/349f1cb1ef6cef530276d6248306d28b (FB12999760)
#SwiftUI I'm stumped on how to add an undo keyboard shortcut on iPad. I'm using the environment's UndoManager. On the Mac, Undo appears in the Edit menu and "just works”.
I tried adding my own button, but UIKit throws a messaging saying it's duplicate, so I assume there is one but it's hidden?
Any ideas would be very much appreciated!
@kamalaitbrahim Screen Studio
🏳️🌈 Founder / Maker
Building that new email app.
Swift and rollercoasters are my thing.
Recovering VC.