Post

Replies

Boosts

Views

Activity

Reply to How To Open A New View From Popup Menu
I think actions from within a view itself should cause a "drill down" / push onto the navigation stack, and It seems SwiftUI is designed to encourage this pattern as well. I have a similar dropdown in my app that shows a settings view, and it does so as a "sheet". This ends up looking fine on both iPhone and iPad, so I've kept it. If you actually want to open a window, you'll need to explore the openWindow utility that's in the swiftUI environment. Opening windows will only work on iPad and Mac, though.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’22
Reply to App Intent parameter type file
That may not get you all the way there unless you support all file types. Something like the following will only accept images, for example. @Parameter(title: "Image", description: "Image to copy", supportedTypeIdentifiers: ["public.image"], inputConnectionBehavior: .connectToPreviousIntentResult) var file: IntentFile
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’22
Reply to How many gigabytes of RAM do you need for development?
Any good Engineer will tell you the super unsatisfying answer: "It Depends". Getting started with python scripting and other simple coding languages like that? 8GB can be fine. For iOS I find that I'm okay with 16GB. I see developers I follow on Twitter struggling with 16GB and 32GB when they're running one of every kind of simulator at the same time. There is likely some sort of AR/VR development kit on the horizon, and this may be more demanding than traditional iOS/Mac development. We won't know any details about that until Apple wants us to, though.
Aug ’22
Reply to Consistent spacing on a grid of ContainerRelativeShapes?
Discovered using a negative spacing in the VStack+HStack technique that matches the relative shape inset works well enough: HStack(spacing: -3) {                     VStack(spacing: -3) {                         ContainerRelativeShape()                             .inset(by: 3)                             .fill(.yellow)                         ContainerRelativeShape()                             .inset(by: 3)                             .fill(.yellow)                     }                     VStack(spacing: -3) {                         ContainerRelativeShape()                             .inset(by: 3)                             .fill(.yellow)                         ContainerRelativeShape()                             .inset(by: 3)                             .fill(.yellow)                     }                 }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’22
Reply to visionOS : Setting up access to ARKit data
Also Filed FB12639395
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Getting "Namespace DYLD, Code 1 Library missing" crashes on Ventura
Did you solve this??
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to ARView "showAnchorGeometry" interpretation help?
An apple individual on the Slack Q&A today said that only green indications for planes are expected.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Drag and drop item problem
I just encountered this on MacOS and not iOS. Did you figure this out?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to How To Open A New View From Popup Menu
I think actions from within a view itself should cause a "drill down" / push onto the navigation stack, and It seems SwiftUI is designed to encourage this pattern as well. I have a similar dropdown in my app that shows a settings view, and it does so as a "sheet". This ends up looking fine on both iPhone and iPad, so I've kept it. If you actually want to open a window, you'll need to explore the openWindow utility that's in the swiftUI environment. Opening windows will only work on iPad and Mac, though.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Xcode Cloud Build Times
I’ve noticed the same thing. Have you heard from apple about this?
Replies
Boosts
Views
Activity
Aug ’22
Reply to App Intent parameter type file
That may not get you all the way there unless you support all file types. Something like the following will only accept images, for example. @Parameter(title: "Image", description: "Image to copy", supportedTypeIdentifiers: ["public.image"], inputConnectionBehavior: .connectToPreviousIntentResult) var file: IntentFile
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Sample Code for App Intents?
The food truck sample app includes some sample app intents.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to AppIntent with Input from share sheet or previous step?
For any one seeing this in the future "Com.image" is not the correct UTType for image. It's "public.image". That did not impact the problem at hand here, though.     @Parameter(title: "Image", description: "Image to copy", supportedTypeIdentifiers: ["public.image"], inputConnectionBehavior: .connectToPreviousIntentResult)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to How many gigabytes of RAM do you need for development?
Any good Engineer will tell you the super unsatisfying answer: "It Depends". Getting started with python scripting and other simple coding languages like that? 8GB can be fine. For iOS I find that I'm okay with 16GB. I see developers I follow on Twitter struggling with 16GB and 32GB when they're running one of every kind of simulator at the same time. There is likely some sort of AR/VR development kit on the horizon, and this may be more demanding than traditional iOS/Mac development. We won't know any details about that until Apple wants us to, though.
Replies
Boosts
Views
Activity
Aug ’22
Reply to AppIntent with Input from share sheet or previous step?
Figured it out. I needed to tap and hold / right click on the choose-file button in shortcuts to select a variable… I don’t think users are going to get remotely close to figuring that out
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Drag and Drop using SwiftUI
Have you gotten any of this stuff to work for you? I started experimenting with accepting drops from outside my app, and it's been brick wall after brick wall.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Consistent spacing on a grid of ContainerRelativeShapes?
Discovered using a negative spacing in the VStack+HStack technique that matches the relative shape inset works well enough: HStack(spacing: -3) {                     VStack(spacing: -3) {                         ContainerRelativeShape()                             .inset(by: 3)                             .fill(.yellow)                         ContainerRelativeShape()                             .inset(by: 3)                             .fill(.yellow)                     }                     VStack(spacing: -3) {                         ContainerRelativeShape()                             .inset(by: 3)                             .fill(.yellow)                         ContainerRelativeShape()                             .inset(by: 3)                             .fill(.yellow)                     }                 }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to SwiftUI Preview times out on big existing project
I've had problems where the project had types that matched SwiftUI types and the preview would never really finish loading. Things like "Coordinator" "View" or "Button", despite being in the namespace of your project and not the swiftUI namespace, seem to confuse the preview compiler.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Xcode Cloud - ITMS-90166: Missing Code Signing Entitlements
Hey, me too! My guess is it's a passing validation bug with the beta. Could be worth submitting a feedback for, though.
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Apr ’22