Another big shout out to friends in various places. I have a former coworker in Hungary who is amazing at UI. He tested my latest app, and I spent the evening with UI updates.. feeling so much nicer! #swiftUI #friends #testing
I've always loved the simplicity of Apple's "What's New" screens, so I decided to mimic it in 40 Below.

I have a bundle that's being loaded by macOS (not an app), and I'm trying to display the version in a SwiftUI view. Everything I've found says this should give me the version, but in practice I get "ver. 1.0" when I know the CFBundleShortVersionString is set to "2.0". Finder shows the correct version, why can't my SwiftUI view? Is it because my loaded bundle isn't "Bundle.main"? How would I find *my* bundle?
SwiftUI Code:
Text("ver. \(Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "unknown")")
I don't think I've seen a less usable API than #swiftui's keyframeAnimator. This is meant to be a really powerful animation API, but due to some really, really weird choices in how it actually works, I can NOT figure out a way to actually do ANYTHING useful with it. Or, when I do manage to, the code is incredibly ugly and awkward.
What went wrong here.
Its so trivial to get key modifiers (command, option, etc) in Gesture Recognizers both in UIKit and AppKit that is puzzling to me why Apple didn't include them in SwiftUI's `DragGesture`. It's something you can do in about 10 minutes by creating a custom gesture recognizer representable.
#swiftui #apple #iOS #macos #indiedev
Got a bunch more quality-of-life improvements into the management UI. Tomorrow night, let's hope App Review finishes so I can tell myself its time to go back to backend work 😛 See you then!
🔜 Tomorrow’s stream: https://youtube.com/live/vm50PRxgXKQ
⏮️ Playlist so far: https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m
📲 Download Jiiiii: https://apps.apple.com/app/apple-store/id6472801548?pt=14724&ct=MastodonCCStreams&mt=8
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
#Swift and #SwiftUI #developers: Does anyone know if there’s a package containing brand icons?
I'm making a seasonal anime guide app, in the open for all to experience and learn from.
Still (still) waiting for App Review, so let's make some more improvements to data entry!
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
Come chill with me: https://youtube.com/live/fwdum9ejx14
I wrote a post on how we can embed SF Symbols in Text and style them with modifiers in SwiftUI by leveraging LocalizedStringKey interpolation: https://nilcoalescing.com/blog/EmbeddingSFSymbolsInSwiftUIText/
#iOSDev #SwiftUI
Apple released another shocker of a #SwiftUI sample: Wishlist: Planning travel in a SwiftUI app
https://developer.apple.com/documentation/swiftui/wishlist-planning-travel-in-a-swiftui-app
- uses var instead of let in immutable View structs.
- Uses non-standard State(initialValue:) instead of @.Binding.
- Uses @Observable class with @.State instead of struct for view data (TripEditModel and another named just Model in AddTripView).
- Uses @Environment with @Observable instead of using @Entry for a struct.
- Identifiable class Activity implements an id as UUID.
Why make individual queries when you can JOIN? Discover how to build efficient multi-table queries with SQLiteData that make Swift Data look limited. Part 5 of SQLite Data series live now! 🚀
https://www.youtube.com/watch?v=lQ7lhUY_wMU&feature=youtu.be
#SwiftUI #SQLiteData

Made a few layout improvements to the management UI. Tomorrow night, let's jump back into the backend for realz™. See you then!
🔜 Tomorrow’s stream: https://youtube.com/live/fwdum9ejx14
⏮️ Playlist so far: https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m
📲 Download Jiiiii: https://apps.apple.com/app/apple-store/id6472801548?pt=14724&ct=MastodonCCStreams&mt=8
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush