Made use of the Geometry Reader for the first time and got a custom segmented control working.
Learning about railroad tracks with paths.
I had to get ✨ CREATIVE ✨ on getting the sub sequence of transit stops for a Leg from when you’re supposed to board and then exit.
#publictransit #pdxtransit #portland #trimet #swiftui
Bingo! This was what I was looking for:
https://mastodon.social/@__mbh__/114208176193786278
By changing the `TimingSession.duration` to a `Duration` (much better alignment of name and type as well), I can now declaratively format the duration like so:
`Text(timingSession.duration, format: .time(pattern: .hourMinuteSecond(padHourToLength: 2)))`
I’m really excited about FlowNavigation — and this is just the start.
Next up:
- More powerful FlowReader
- Custom flow completion logic
Give it a try and let me know what you think.
🔗 https://swiftpackageindex.com/magnuskahr/swiftui-flow-navigation
A complete Swift noob question:
I want to display `TimingSession.duration` which is a computed property of type `DateInterval` in a table column, and I want the `Text` to contain the distance between the start and end dates formatted like “HH:MM:SS”. How do I do that?
collab 🫳🎤 https://notepadexe.com meets https://alexcodes.app and it's magic 🔊 #xcode #swiftui #iOS
I'm making a seasonal anime guide app, in the open for all to experience and learn from.
Let's start the seasons page for the web!
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
Come chill with me: https://youtube.com/live/CHmo__r16PU
Just added previews to notifications in @longago
I bet most people won’t notice them but devil’s in the details
#SwiftUI #BuildInPublic #iOSDev
@swiftui @swift Exciting News! 🎉 Just dropped Part 30 of my "Let's Build Pinterest clone Using SwiftUI and “firebase” playlist! 📺🛠️ Dive deeper into Swift development as we take our app to the next level. 🚀 Check it out now and let's code together! 🔗 https://www.youtube.com/watch?v=DPngmwGc7yA #swiftui #swift #swiftlang #iosdev #iOS
#SwiftUI I'm confused. Apple developer documentation is saying one thing about environmentObject, Xcode is saying another. What am I missing? 🤔