Post

Replies

Boosts

Views

Activity

Reply to Sequoia Group Container for Mac Catalyst Apps
@DTS Engineer Non-Catalyst apps deployed via the Mac App Store may also use an iOS-style app group name (group.*) as long as that group is registered to the app’s team. This is the first criterion mentioned in the release notes (“the app is deployed through Mac App Store”). Does this apply for dev-builds running directly from Xcode? Like, if a build from Xcode is prompting users to "Allow" data from other apps, will it still prompt if it's installed from the mac app store? My macAppStore app is prompting me to allow. It's using group.* because it used to be a catalyst app.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’24
Reply to OutlineView in SwiftUI
I say don't bother. While the SwiftUI framework makes things that resemble an OutlineView, they fall very very far short of the flexibility offered by the Appkit and UIKit frameworks. Notably, if you want users to be able to rearrange the items between parent / grandparent items, beware. You will not be able to do so in a way that users find intuitive, if at all, in pure SwiftUI. I requested the ability to be able to drag items from one SwiftUI ForEach to another after WWDC22 revealed no improvements. (FB10064943). For me, this inhibits making a rock-solid sidebar, and while the TabView APIs this year get closer, they come with other design baggage I'm not sold on yet. If you've already got an AppKit implementation, just drop that into SwiftUI land via the representable APIs. There are many places in SwiftUI that will get you 80% of the way to a great user experience, but the other 20% requires a fully bespoke solution that won't resemble the system provided UIs or support accessibility considerations. Why it's taken over 2 years to add the ability to drag things between sections I'll never know. Probably deprioritized.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’24
Reply to VisionOS RealityKit
AFAIK A stereoscopic material shows a separate image to the left and right eye. There's not really a depth buffer involved. Perhaps you can conditionally swap between using the stereoscopic image data or left-eye-only image data based on some conditions in the shader graph.
Topic: Graphics & Games SubTopic: General Tags:
Apr ’24