Integrating Siri with Custom Intents in SwiftUI

  Рет қаралды 691

ProgrammingWithAPurpose

ProgrammingWithAPurpose

Күн бұрын

Пікірлер: 12
@oliversauter2154
@oliversauter2154 Ай бұрын
btw Siri works in the Simulator by long pressing on the "screen lock" button or in the menu bar on Device > Siri
@programmingwithapurpose6807
@programmingwithapurpose6807 Ай бұрын
Yes it does work in a way that we can launch it as a target but still i wasn’t able to configure it to receive voice input using my macbook. So yeah i couldn’t test the code but i am hopeful with xcode 16+ this issue will specifically be fixed due to hyper focus on apple intelligence
@oliversauter2154
@oliversauter2154 Ай бұрын
@@programmingwithapurpose6807 For me it worked fine to open apps etc. What was the part that did not work for you?
@programmingwithapurpose6807
@programmingwithapurpose6807 Ай бұрын
I was not able to configure mac to pass microphone input to Siri. Hopefully it will be easy to handle in Xcode 16.
@FalconerCH
@FalconerCH 2 ай бұрын
Is there a reason to use app groups instead of shared user default storage? Also, I'm using the shortcuts app to create automation using custom intents. I can set up the automation fine and run the intent on my phone, but the intent handler is not called and the values are not stored on my phone
@programmingwithapurpose6807
@programmingwithapurpose6807 2 ай бұрын
Yes there is a reason, we use app groups where there are two different Targets. It is just like user defaults but they have a domain where they store and hence share values. If you create custom intent using the process i have shown most probably it would create two folders one for project and other for the intent separately so we require app groups.
@FalconerCH
@FalconerCH 2 ай бұрын
@@programmingwithapurpose6807 Oh that makes a lot of sense. Thank you so much!
@dharmitshah7018
@dharmitshah7018 2 ай бұрын
Is there any way possible though appintent siri command example: my application is for any document convert to pdf so i create app intent for my app In mail app i have an word file that word file i want convert to pdf through my application is that thing possible using app intent siri command like "convert doc file to pdf from my app"?
@programmingwithapurpose6807
@programmingwithapurpose6807 2 ай бұрын
Seems like it is possible but we have to wait for mac os update along with xcode 16 stable build. There is a demo code for many purposes to create multiple type of intents. Check it out under intents documentation for some help
@dharmitshah7018
@dharmitshah7018 2 ай бұрын
​@@programmingwithapurpose6807oky thanks 😊
@sajalkaushik5929
@sajalkaushik5929 2 ай бұрын
Same thing can be achieved just by using App Intents. Please correct me if I am wrong
@programmingwithapurpose6807
@programmingwithapurpose6807 2 ай бұрын
Yes but this video shows how to do it with custom intent, launch with a target, where to customize user input. Custom intent is basically app intent with more features.
Updates WWDC24: AppIntents, Spotlight Search, App Indexing and Siri Integration
17:58
Create Vector Letters with Affinity Designer 2 iPad App
12:12
Make It Mobile
Рет қаралды 887
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 6 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 34 МЛН
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 194 МЛН
Siri's secret weapon: app intents
12:56
TechAltar
Рет қаралды 134 М.
📱Siri Shortcuts & Custom Intents (2019) 📱
23:35
Canispater Christmas
Рет қаралды 12 М.
"Demystifying App Intents" by Ashli Rankin
17:17
Swiftable
Рет қаралды 400
Enhance In-Call UI & Animation With SwiftUI
8:28
ProgrammingWithAPurpose
Рет қаралды 34
Support macOS Clipboard (Copy/Paste) in SwiftUI Apps
6:59
Flo writes Code
Рет қаралды 2,6 М.
Uber-Like Car Animation with Route and Marker in SwiftUI
16:03
ProgrammingWithAPurpose
Рет қаралды 246
software engineering interviews in 2024 be like
2:34
Chavan
Рет қаралды 558 М.
Currency Convertor in Nextjs | Shadcn Ui | Api | Data fetching
1:13:59
Create animated Curved Popovers in IOS | Swiftui | Xcode 16
12:30
ProgrammingWithAPurpose
Рет қаралды 473
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 6 МЛН