swiftui

Back Open Paginator
17.02.2025 16:11
rogelin (@rogelin@mastodon.social)

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.





Show Original Post


17.02.2025 15:07
myell0w (@myell0w@mindly.social)

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?




Show Original Post


17.02.2025 11:16
gabtheodor (@gabtheodor@mastodon.cloud)

đź’ˇ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.

#iOSDev #SwiftUI

serialcoder.dev/text-tutorials




Show Original Post


17.02.2025 10:57
dimitribouniol (@dimitribouniol@mastodon.social)

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: youtube.com/live/QYwwkbMNtKU
⏮️ Playlist so far: youtube.com/playlist?list=PLRx
📲 Download Jiiiii: apps.apple.com/app/apple-store




Show Original Post


17.02.2025 09:59
dimitribouniol (@dimitribouniol@mastodon.social)

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!

Come chill with me: youtube.com/live/13wGXFj7qUk




Show Original Post


17.02.2025 09:03
troz (@troz@mastodon.social)

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.

troz.net/post/2025/mac_menu_da




Show Original Post


17.02.2025 05:45
technicat (@technicat@iosdev.space)

nice looking #swiftui photo chooser

github.com/tilltue/TLPhotoPick




Show Original Post


17.02.2025 02:53
weetwo (@weetwo@mastodon.gamedev.place)

Yellow, and mildly improved center. #swiftui





Show Original Post


17.02.2025 02:39
weetwo (@weetwo@mastodon.gamedev.place)

Who knew daisies would be so hard?! #swiftui





Show Original Post


16.02.2025 23:15
michaelrowe01 (@michaelrowe01@mstdn.social)

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




Show Original Post


16.02.2025 19:01
MuseumShuffle (@MuseumShuffle@mastodon.social)

TIL there's a ~= operator in Swift.

Here's it's being used to see if a value is in a range.





Show Original Post


16.02.2025 18:26
samalone (@samalone@twit.social)

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?




Show Original Post


1 2 3 4 5 6 ...165
UP