Post

Replies

Boosts

Views

Activity

Comment on How to send a message from menu item in SwiftUI App to ContentView
Notifications can work! Just know that if you do ever spawn multiple windows that notification will be caught by each one. Good on you for trying out a new framework. It requires a different kind of thinking, and has quite a few quirks lurking in the shadows. You gotta remember that at any given moment in time the entire UI of your app should be rebuildable from the ground up off of state that is maintained outside and inside(@State) of views.
Topic: UI Frameworks SubTopic: SwiftUI
3w
Comment on OS27 LazyVGrid hops like crazy on scroll up.
Okay, I think I've isolated it more. My "hops like crazy" scenario was multiple LazyVGrids inside a single ScrollView. I'm going to assume that's not a supported configuration. I've attached a project and some videos to FB23182374 . Let me know if you have any questions or want me to try some things out on it.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’26
Comment on Can I import images into my app with App Intent Schemas?
Hmm, okay, that’s new. I’ve added the createAssets support and added Transferable to the PhotoEntity asset. I also think I finally got the photos app to try and invoke my add-to-album, though it says it failed and I still need to investigate. I have not been able to get siri to try to invoke my “add to album” intent with files from the Files app or tabs in safari. Should PhotoAsset AppEntity’s be cross compatible with other Entity types?
Jun ’26
Comment on Can I import images into my app with App Intent Schemas?
In this case it's not my photo! I'm trying to get an image provided from outside the app, so maybe an image from a safari web page. In that case my app's not on screen at the time. Does Siri have to bridge from Safari's provided AppEntity to my PhotoAsset entity? The PhotoAsset entity is very basic. I'll provide in a post
Topic: App Intents SubTopic:
App Intents & Siri Q&A
Jun ’26
Comment on Does Siri AI work with app Intents that don't fit any Schemas?
I’ll echo this. I don’t know why the communication about this feature set is so detached from the development experience. Maybe it’s working fine in internal builds, but I haven’t seen it yet.
Replies
Boosts
Views
Activity
3w
Comment on How to send a message from menu item in SwiftUI App to ContentView
That's what makes the menu bars so weird. What "State" populates a menu bar button action handler? It's just a weird concept, but understanding it can allow you to disable/enable menu bar buttons as needed.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
3w
Comment on How to send a message from menu item in SwiftUI App to ContentView
Notifications can work! Just know that if you do ever spawn multiple windows that notification will be caught by each one. Good on you for trying out a new framework. It requires a different kind of thinking, and has quite a few quirks lurking in the shadows. You gotta remember that at any given moment in time the entire UI of your app should be rebuildable from the ground up off of state that is maintained outside and inside(@State) of views.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
3w
Comment on How to send a message from menu item in SwiftUI App to ContentView
The FocusedWindowSheet in my app is: public enum FocusedWindowSheet: Hashable, Identifiable { public var id: Self { self } case settings case addFolderGallery(...) } My enum fuels a standard sheet to show via the "item" presentation mechanism.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
3w
Comment on How to send a message from menu item in SwiftUI App to ContentView
LOL "Foused" are typos of "focused". I never noticed. FocusedWindowSheet is used in my example, but it can be whatever triggers the import window in your content view. It looks like in this case it can be "Bool" since it relies on isPresented.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
3w
Comment on How to send a message from menu item in SwiftUI App to ContentView
Yeah, step one, imo, is to get that .fileImporter onto the contentView that actually acts on the file. Make it work when spawned from a tool-bar button to get started. I don’t like that thing living at the App level either.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
3w
Comment on Does Siri AI work with app Intents that don't fit any Schemas?
No custom schemas. “file a feedback request”. No, apple won’t compensate us for filing feedback requests, but they will take 30% of revenue generated by your app.
Replies
Boosts
Views
Activity
3w
Comment on Does Siri AI work with app Intents that don't fit any Schemas?
The devs in the group lab seemed to indicate that Siri AI would not interpolate phrasing to trigger shortcuts provided via the AppShortcutsProvider. Is this functionality supposed to be in Beta 3? (It’s not)
Replies
Boosts
Views
Activity
3w
Comment on Receiving an on‑screen image from another app via App Intents / Siri (app has no photo library)
Same. Even looked into “open file” or “moveFile”, but documentation says that Siri doesn’t even use those. Only shortcuts. https://developer.apple.com/documentation/appintents/appschema/filesintent/openfile
Replies
Boosts
Views
Activity
Jun ’26
Comment on IndexedEntities and Siri AI
If you build the intent to answer questions about properties on the building entity, would you be able to invoke it conversationally? Or would you be limited to phrases that rigidly defined in the 10 shortcuts that apps can make available In their shortcuts provider?
Replies
Boosts
Views
Activity
Jun ’26
Comment on Multiple schemas per entity
I don’t think Spotlight uses the view-hierarchy based AppEntity declarations. As far as I understand it, Spotlight only sees what’s provided to CoreSpotlight directly?
Replies
Boosts
Views
Activity
Jun ’26
Comment on OS27 LazyVGrid hops like crazy on scroll up.
Okay, I think I've isolated it more. My "hops like crazy" scenario was multiple LazyVGrids inside a single ScrollView. I'm going to assume that's not a supported configuration. I've attached a project and some videos to FB23182374 . Let me know if you have any questions or want me to try some things out on it.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’26
Comment on OS27 LazyVGrid hops like crazy on scroll up.
Yeah. I'm at my wits end. I was hoping to unify some NSCollection and UICollection view code, but i don't think it's meant to be. Of course a sample project I made doesn't bounce near as much, making me even more confused.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’26
Comment on Can I import images into my app with App Intent Schemas?
Hmm, okay, that’s new. I’ve added the createAssets support and added Transferable to the PhotoEntity asset. I also think I finally got the photos app to try and invoke my add-to-album, though it says it failed and I still need to investigate. I have not been able to get siri to try to invoke my “add to album” intent with files from the Files app or tabs in safari. Should PhotoAsset AppEntity’s be cross compatible with other Entity types?
Replies
Boosts
Views
Activity
Jun ’26
Comment on Can I import images into my app with App Intent Schemas?
In this case it's not my photo! I'm trying to get an image provided from outside the app, so maybe an image from a safari web page. In that case my app's not on screen at the time. Does Siri have to bridge from Safari's provided AppEntity to my PhotoAsset entity? The PhotoAsset entity is very basic. I'll provide in a post
Topic: App Intents SubTopic:
App Intents & Siri Q&A
Replies
Boosts
Views
Activity
Jun ’26