WTF Xcode
Just created a new project for an iOS app, SwiftUI + SwiftData from Xcode's template and it crashes when I try to run in macOS (Designed for iPad).
Error seems to be related with AVPlayerView, which is not being used anywhere in my project.
Is there any way to replicate the built-in Drag-and-Drop behaviour of List, where I can tap on items to add them to the current Drag after a drag has started (iOS, #SwiftUI)?
Related to this: is there any way to get notified about a drag being started?
đź’ˇAs of iOS 17, we can create expandable Sections in SwiftUI that we can use in Lists and Forms. Read in my new blog post how to present them, allow user interaction, and handle multiple sections efficiently.
Cleaned up the passkey process quite a bit. Just one more push for moving to a server-based move, then I can release this. See you tomorrow!
🔜 Tomorrow’s stream: https://youtube.com/live/QYwwkbMNtKU
⏮️ 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
I'm making a seasonal anime guide app, in the open for all to experience and learn from!
Short stream today, but let's fix some things we missed with passkeys, and start the merge process if we have time!
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
Come chill with me: https://youtube.com/live/13wGXFj7qUk
When working with SwiftUI in a Mac app, it’s always been difficult to work out how to target the active window from a menu command. Now I think I’ve finally worked out a good way to do this.
https://troz.net/post/2025/mac_menu_data/
#Swift #SwiftUI #macOS #MacDev #macOSDev
nice looking #swiftui photo chooser
https://github.com/tilltue/TLPhotoPicker
Yellow, and mildly improved center. #swiftui
Who knew daisies would be so hard?! #swiftui
Working on adding UI Tests to one of my apps, and decided to try out the screen capture mechanism of XCTest. Well It appears to be freaking out, and just looping about mid-way through all the languages I support. Has anyone else seen this. #swiftui #testing #apple
TIL there's a ~= operator in Swift.
Here's it's being used to see if a value is in a range.
I'm pulling my hair out here. Has anyone had trouble where #SwiftData sends change notifications for unrelated entities? I have an app with Podcasts and Playlists, and setting the title of a Podcast is triggering a #SwiftUI view update that says \Playlist.name changed! I don't even have any relationships between those two model types, and I don't have any views that display Podcasts! It's like any change to any model object is triggering refreshes in my entire app. Any ideas?