eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

211
active users

#appshortcuts

0 posts0 participants0 posts today
Mario Alberto Guzmán<p>Now that I have <a href="https://mastodon.social/tags/AppShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppShortcuts</span></a> complete for <a href="https://mastodon.social/tags/PDXTransit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PDXTransit</span></a>, I’m getting into Widgets with <a href="https://mastodon.social/tags/WidgetKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WidgetKit</span></a>. 🤓</p>
Mario Alberto Guzmán<p>I made my own “hints view" for Shortcuts if they're available in your current context. They show what you can say to Siri.</p><p>Apple made SiriTipView but they're a bit of an eye sore. heh.</p><p><a href="https://mastodon.social/tags/Siri" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Siri</span></a> <a href="https://mastodon.social/tags/SiriShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SiriShortcuts</span></a> <a href="https://mastodon.social/tags/AppIntents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppIntents</span></a> <a href="https://mastodon.social/tags/AppShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppShortcuts</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a></p>
Mario Alberto Guzmán<p>I made an App Shortcut that takes a Trimet Stop ID in the Siri UI and then presents arrival times for that stop in the subsequent view. Works so quickly — probably a better experience than opening the app tbh!</p><p>Also, the HomePod experience for this just works! It will say the upcoming arrivals nicely since there’s no visual UI.</p><p><a href="https://mastodon.social/tags/AppShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppShortcuts</span></a> <a href="https://mastodon.social/tags/AppIntents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppIntents</span></a> <a href="https://mastodon.social/tags/Siri" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Siri</span></a> <a href="https://mastodon.social/tags/SiriShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SiriShortcuts</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a></p>
Mario Alberto Guzmán<p>I think I am all set when it comes to App Shortcuts but will need to do a bit more testing for responses when using HomePod.</p><p><a href="https://mastodon.social/tags/AppIntents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppIntents</span></a> <a href="https://mastodon.social/tags/AppShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppShortcuts</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://mastodon.social/tags/SiriShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SiriShortcuts</span></a></p>
Mario Alberto Guzmán<p>Have fun with your App Shortcut platters in the Shortcuts app by giving it a light and dark mode theme... don't be boring like all the others. :) </p><p><a href="https://mastodon.social/tags/AppIntents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppIntents</span></a> <a href="https://mastodon.social/tags/AppShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppShortcuts</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://mastodon.social/tags/SiriShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SiriShortcuts</span></a></p>
Mario Alberto Guzmán<p>By the way, if your iOS ships <a href="https://mastodon.social/tags/AppShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppShortcuts</span></a> with a custom background tile color (for the Shortcuts app), its most likely that it only works on iPhone and not iPad.</p><p>I was able to get it to work on iPad by making a duplicate entry in the info plist for “CFBundleIcons" to be “CFBundleIcons~ipad" because I remembered about "Device-Specific Keys" from this article.</p><p>So now my background tiles show up green on iPadOS Shortcuts app.</p><p><a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://mastodon.social/tags/iOSDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOSDev</span></a> <a href="https://mastodon.social/tags/AppIntents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppIntents</span></a> <a href="https://mastodon.social/tags/Shortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Shortcuts</span></a> </p><p><a href="https://developer.apple.com/documentation/bundleresources/managing-your-app-s-information-property-list" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.apple.com/documentat</span><span class="invisible">ion/bundleresources/managing-your-app-s-information-property-list</span></a></p>
Mario Alberto Guzmán<p>The same App Shortcuts/App Intents code from iOS “Just Works”™ on watchOS too. And the Bookmarks saved in the app sync via iCloud. Noice. 👍 </p><p>Each one makes a service call to get arrival times or alerts and for a watch, it’s pretty damn quick!</p><p><a href="https://mastodon.social/tags/AppShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppShortcuts</span></a> <a href="https://mastodon.social/tags/AppIntents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppIntents</span></a> <a href="https://mastodon.social/tags/Siri" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Siri</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a></p>
Mario Alberto Guzmán<p>Once you get the hang of it, <a href="https://mastodon.social/tags/AppIntents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppIntents</span></a> and <a href="https://mastodon.social/tags/AppShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppShortcuts</span></a> are pretty easy to build. </p><p>In this case, it uses your bookmarked transit stops to get either arrival times or service alerts for that transit stops. It’ll display either in the Siri response UI.</p><p><a href="https://mastodon.social/tags/Shortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Shortcuts</span></a> <a href="https://mastodon.social/tags/Siri" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Siri</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a></p>
Mario Alberto Guzmán<p>My App Shortcut to open bookmarked <a href="https://mastodon.social/tags/Trimet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Trimet</span></a> transit stops in PDX Transit works pretty well with HomePod too! </p><p>I still need to make the output a bit more condensed but you get the idea… since you don’t have a visual UI, Siri will read out loud the upcoming arrivals for you.</p><p>I’m going to have localizing these to Spanish. 🇪🇸🤓</p><p><a href="https://mastodon.social/tags/AppIntents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppIntents</span></a> <a href="https://mastodon.social/tags/AppShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppShortcuts</span></a> <a href="https://mastodon.social/tags/AppleIntelligence" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleIntelligence</span></a> <a href="https://mastodon.social/tags/iOSShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOSShortcuts</span></a> <a href="https://mastodon.social/tags/SiriShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SiriShortcuts</span></a> <a href="https://mastodon.social/tags/Siri" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Siri</span></a> <a href="https://mastodon.social/tags/Portland" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Portland</span></a> <a href="https://mastodon.social/tags/PDX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PDX</span></a> <a href="https://mastodon.social/tags/PublicTransit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PublicTransit</span></a></p>
Mario Alberto Guzmán<p>Adding Shortcuts to your Home Screen for bookmarked TriMet transit stops seems like it could be hella convenient! 🚌 </p><p>Having a lot of fun building various app shortcuts 😊</p><p><a href="https://mastodon.social/tags/AppIntents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppIntents</span></a> <a href="https://mastodon.social/tags/AppShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppShortcuts</span></a> <a href="https://mastodon.social/tags/Siri" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Siri</span></a> <a href="https://mastodon.social/tags/AppleIntelligence" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleIntelligence</span></a> <a href="https://mastodon.social/tags/Trimet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Trimet</span></a> <a href="https://mastodon.social/tags/Portland" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Portland</span></a> <a href="https://mastodon.social/tags/PublicTransit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PublicTransit</span></a></p>
Mario Alberto Guzmán<p>Super rough implementation but here I have your bookmarked Transit Stops in PDX Transit showing up as App Shortcuts. Tapping them does a network call to get the RT arrival times and display them in the Siri UI.</p><p>You can launch them from Shortcuts.app, Spotlight, Siri... </p><p><a href="https://mastodon.social/tags/AppIntents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppIntents</span></a> <a href="https://mastodon.social/tags/AppShortcuts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppShortcuts</span></a> <a href="https://mastodon.social/tags/Siri" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Siri</span></a> <a href="https://mastodon.social/tags/AppleIntelligence" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleIntelligence</span></a> <a href="https://mastodon.social/tags/Trimet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Trimet</span></a> <a href="https://mastodon.social/tags/Portland" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Portland</span></a> <a href="https://mastodon.social/tags/PublicTransit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PublicTransit</span></a></p>