Post

Replies

Boosts

Views

Activity

Reply to Catalyst or SwiftUI Multiplatform?
I just went through this. At first the multi-platform seem the “right” way to go. But, multi-platform means your SwiftUI code is heavily peppered with #if os(iOS) since so many of the view modifiers for navigation do not exist on the mac. You are really irking in APPKIT and UIKIT in multi-platform. For my use case WAY more work than catalyst. The only reason I see for multi-platform is if you want to look like a Mac app, and basically have two different UIs. Or you need something not available in catalyst.
Jun ’20
Reply to Customize DocumentGroup in SwiftUI with SwiftData
You can have a window group as your primary UI and then explicitly open the DocumentGroup to open a new or existing document. I have not found a way to create a document and save it to disk without the Apple UI, unless you use an exporter UI. In either case apple will control the file dialog so you are not able to access arbitrary files.
Jun ’23
Reply to VisionOS, Vision Pro and eye disorders
I did ask them at WWDC since I have both the conditions you list. for nystagmus I was asking about eye tracking, but optic id is a good question also. For eye tracking they will have fall back to a hand based cursor, or mouse/trackpad. for lazy eye (or non-binocular vision) they said it might just work. it seems like they have had many discussions, but what made it into v1 was unclear. It seems like this is still a way away from a finished thing. They are not done building it yet. but, the accessibility person I spoke with knew the name of nystagmus at least.
Jun ’23