- The widget of this app was created in the first jam entry this year.
- This entry is the supporting in-app functionality.
https://tor.publicbikesystem.net/ube/gbfs/v1/en/station_information
git clone
this repo andcheckout
master
. We used Xcode 13.1 to build and run.- Launch the
bikeshare-widget
scheme to the device
Here's a of how to use the app on device.
- Station list is emptied after selecting one station from the list.
- Unsure how denying location services on first launch of app/widget would be handled gracefully.
- Unsure how denying location services after first launch of app/widget would be handled gracefully.
- Unsure how app would behave if backgrounded and opened by widget.
MapKit
and overlays with directions doesn't seem to be supported yet on SwiftUI, which is why it had to be aUIViewRepresentable
(limiting its' updates toBinding
as opposed toObservedObject
orEnvironmentObject
). Take a look at possible refactors after routes can be added through SwiftUI.