@obrhoff I am doing something similar in my WIP app.
Making apps; Soro for Sonos & Remu for Roku
@stroughtonsmith Metro 4?
New blog post. Implementing onChange(anyOf:initial:_:)
In SwiftUI, the onChange(of:initial:_:) modifier performs an action when the given value changes. A limitation of this modifier is that it only accepts a single value. If you want to perform the same action in response to multiple changes, you’ll usually need multiple modifiers.
@stroughtonsmith bit late to the App Store but my latest version of my Sonos app is now available:
Latest Soro is now available on the App Store. Completely redesigned to better control your Sonos system and browse your music services.
What's new:
- Liquid glass design with updated UX for more intuitive speaker control and music browsing
- Support for (most) Sonos music services, both in-app and via Shortcuts actions
- Updated Shortcuts actions that are both more powerful and easier to configure
@stroughtonsmith not sure if on purpose but the Pro has very Teenage Engineering design vibes. Which makes total sense both company being heavily influenced by the Rams designs.
@stroughtonsmith Here is a little glimpse of the liquid glass update of my Sonos app called Soro. It will also add support for (almost) all music services supported by Sonos and all the Shortcuts actions will use the new AppIntents framework.
https://apps.apple.com/ca/app/soro-for-sonos/id1550457805
#showcase25
Reminder, you do not need a crazy and risky and super expensive 19m diameter tunnel to provide 99% of the transport capacity the premier of Ontario is talking about on the 401 corridor -- you can easily extend the existing subway.
https://nextmetro.substack.com/p/a-real-solution-to-highway-401-congestion
By the way, if your iOS ships #AppShortcuts with a custom background tile color (for the Shortcuts app), its most likely that it only works on iPhone and not iPad.
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.
So now my background tiles show up green on iPadOS Shortcuts app.
@thillsman @matthewcassinelli is the highlighted part can be implemented by users when sharing a shortcut?
@kylebshr I see what you mean now, yeah, completely hiding the parameter via parametersummary that way may not be possible
@matthewcassinelli @ian I think that's what you are looking for: https://developer.apple.com/documentation/appintents/resolvers
@nehayward yup
@mactanaka looks great! Catalyst or AppKit?
@stroughtonsmith @caseyliss yup, I use that and a hacky way to use deeplinks to navigate within the app
PSA: if you have an app that includes Control Center widgets for iOS 18 but still supports iOS 17 or earlier, you have to set up your WidgetBundle in a specific way, otherwise the widgets will stop working on versions of iOS prior to 18. Here’s an answer in the developer forums describing how to do it properly: https://forums.developer.apple.com/forums/thread/759670?answerId=795557022#795557022
@darylbaxter just re-sent my earlier email about my 3rd party Sonos app! Thanks for the coverage!
First time any of my apps will support a new iOS feature on day 1. Plus brand new frontend.