[ad_1]
Okay so I began out as a programmer and was coding in Turbo Pascal and C by the point I used to be 16, bought a job with IBM began coding in REXX for a number of customers, bought burnt out and jumped into networking. That was 30 years in the past… Anyway determined I wished to leap again in and star studying Swift and SwiftUI. Been going by tutorials and studying the docs and so on.. and am getting a newbie primary understanding. I wrote a purposeful app and was in a position to make it look good and work.
So there’s a easy addition that happens in my app once you press a button. I assumed, man that will be much more handy, if I might say hey siri “add to my app” form of factor. Then the person does not need to hit a button and all I must do is increment a variable.
The previous couple of days I’ve been making an attempt to determine this out and there’s a lot of documentation, however some use the SiriKit and a few use intents and a few makes use of storyboard and so on.. and also you get the concept..
What I feel I perceive after loads of studying is that Siri assist was solely constructed inside apple apps and was not allowed in third social gathering apps. Then I feel round iOS 10, they added third social gathering assist. The factor is the third social gathering assist allowed you to make use of Siri, however to mainly use it for beforehand outlined features, like ship a message, add a reminder and so on.. Very particular issues.
What I wish to do is straightforward change of variable by saying one thing to Siri. Now I feel primarily based on a video I noticed in WWDC22, that perhaps with IOS 16 and AppIntents I can do that however undecided.
What I’m searching for from you guys, the perform I wish to carry out, is it doable? Can I simply inform siri one thing and primarily based on what I inform siri, a variable will get incremented. Siri doesn’t must reply. Whether it is, is it solely obtainable with iOS 16 at this level?
Whether it is doable with 15.x are you able to level me to some docs that will assist me perceive what I must do to implement it. I maintain getting misplaced in paperwork that appear like they do not apply to my scenario or they’re very previous. Perhaps that is simply over my head at this level as effectively. I’m utilizing SwiftUI for my app as effectively if that makes any distinction.
Thanks.
[ad_2]
