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)
It's a shame DocC doesn't yet support multiple targets; it would make splitting things up much easier.
At least it’s being discussed: https://forums.swift.org/t/combined-documentation-of-multiple-targets/59579
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?
New App Store Release: Tizipizi! 🥳
Download on iPhone while it’s hot 🔥 http://tizipizi.app & let me know!
Tizipizi is your ultimate time zone management companion that makes converting time and scheduling meetings across the globe a breeze.
More about the app 🧵👇🏻
@bardi I found myself Googling for answers from the SwiftUI lounges, and what lovely person uploaded them all???
Thank you ❤️
https://midnight-beanie-ccb.notion.site/WWDC22-SwiftUI-e20094b91f074398ba395c3fa245e63d
Okay I'm only adding font formatting because without it my panel is unbalanced.
This is how you prioritise features guys.
Has anyone successfully used “Preview on Device" with a standalone Swift package?
I get a crash report from Xcode but the error is fairly cryptic. I'm assuming because there’s no target it has a meltdown?
Bonus: Can anyone tell me how to get the keyboard to display on a SwiftUI preview? #SwiftUI
🏳️🌈 Founder / Maker
Building that new email app.
Swift and rollercoasters are my thing.
Recovering VC.