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
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!
I wrongly assumed the format panel used in Mail was a system control like it is on macOS; but alas it isn't!
It ended up being a lot of fun recreating it, including the silly stretching/rubber-banding when you pull it.
#SwiftUI Has anyone got openWindow to work on iPadOS from the Command menu? Console throws "Use of OpenWindowAction requires the SwiftUI App Lifecycle" (the whole app is). Button works fine when inside a View (and works on Mac)
Thinking of open-sourcing the #SwiftUI framework used to build Big Mail/Big News. It recreates a bunch of ‘missing’ system UI components (toasts, menus, pickers, etc), and has some common patterns for navigation, styling, etc.
It's one package right now (BigSwiftUI) but I'm torn whether to split it up into smaller packages.
Anyone interested in a package like this? Split it up or no?
Okay I'm only adding font formatting because without it my panel is unbalanced.
This is how you prioritise features guys.
Own a VanMoof? You need to act NOW and backup your bike's key.
The folks at Cowboy just published "Bikey” and it makes this really easy.
They were kind enough to send me a preview build yesterday and it works great!
Question for my iOS dev lovelies:
- Why are some iOS 17 crash reports available to view in Xcode, but some aren't?
- How do you go about tracking down exceptions that seem to be raised inside SwiftUI? (I don't use UICollectionView, but I assume LazyVStack does??) #SwiftUI
🏳️🌈 Founder / Maker
Building that new email app.
Swift and rollercoasters are my thing.
Recovering VC.