home.social

#swiftui — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #swiftui, aggregated by home.social.

  1. Now with it hot on everyone's mind, and exactly a year of Liquid Glass behind us, I wanna hear from you:

    Have you run into weird, unexpected walls when trying to write a #SwiftUI view? let down by it? Or maybe delighted by how quickly you could ship something thanks to it? Despite it?

    Join the #Swift Blog Festival for May by writing a blogpost about your experience!
    Learn more here: kirby.pika.page/posts/where-di

  2. Is there a way in #SwiftUI to detect when a sheet is being dismissed by a user to present a confirmationDialog in case of unsaved changes, as recommended by Apple HIG about Sheets?

    In UIKit, we can use the presentationControllerDidAttemptToDismiss method.

    Feebdack: FB22777840

  3. Spent the time re-understanding the existing queue loading code, and making a game plan to adapt it to the new list entries. Tomorrow night, let's start ripping it apart. See you then!

    🔜 Tomorrow’s stream: youtube.com/live/UDZG0Pb5uG4
    ⏮️ Playlist so far: youtube.com/playlist?list=PLRx
    📲 Download Jiiiii: apps.apple.com/app/apple-store

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

  4. Spent the time re-understanding the existing queue loading code, and making a game plan to adapt it to the new list entries. Tomorrow night, let's start ripping it apart. See you then!

    🔜 Tomorrow’s stream: youtube.com/live/UDZG0Pb5uG4
    ⏮️ Playlist so far: youtube.com/playlist?list=PLRx
    📲 Download Jiiiii: apps.apple.com/app/apple-store

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

  5. Spent the time re-understanding the existing queue loading code, and making a game plan to adapt it to the new list entries. Tomorrow night, let's start ripping it apart. See you then!

    🔜 Tomorrow’s stream: youtube.com/live/UDZG0Pb5uG4
    ⏮️ Playlist so far: youtube.com/playlist?list=PLRx
    📲 Download Jiiiii: apps.apple.com/app/apple-store

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

  6. Spent the time re-understanding the existing queue loading code, and making a game plan to adapt it to the new list entries. Tomorrow night, let's start ripping it apart. See you then!

    🔜 Tomorrow’s stream: youtube.com/live/UDZG0Pb5uG4
    ⏮️ Playlist so far: youtube.com/playlist?list=PLRx
    📲 Download Jiiiii: apps.apple.com/app/apple-store

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

  7. Spent the time re-understanding the existing queue loading code, and making a game plan to adapt it to the new list entries. Tomorrow night, let's start ripping it apart. See you then!

    🔜 Tomorrow’s stream: youtube.com/live/UDZG0Pb5uG4
    ⏮️ Playlist so far: youtube.com/playlist?list=PLRx
    📲 Download Jiiiii: apps.apple.com/app/apple-store

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

  8. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Let's start refactoring the existing routes to read from the new datastores!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/m99o2zCuil0

  9. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Let's start refactoring the existing routes to read from the new datastores!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/m99o2zCuil0

  10. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Let's start refactoring the existing routes to read from the new datastores!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/m99o2zCuil0

  11. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Let's start refactoring the existing routes to read from the new datastores!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/m99o2zCuil0

  12. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Let's start refactoring the existing routes to read from the new datastores!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/m99o2zCuil0

  13. My macOS Apprentice book has just been updated for macOS 26 and Xcode 26.

    See the details here:
    troz.net/post/2026/macos-appre

    Buy or update through Kodeco: kodeco.com/books/macos-apprent

    #macOS #Swift #SwiftUI #AppKit

  14. I got a suggestion from @troz to add `.frame(minHeight: 400)` after the inspector block, which fixes the issue. I do still need to set `.frame(minWidth: 400)` on the scroll view in order to get the expected zoom behavior. Feels a little weird to split up the sizing like that, but not a big deal. Unfortunately the window still scoots down if you call zoom repeatedly, but… I can live with it for a hobby project I guess 🤷‍♂️ #MacDev #SwiftUI

  15. It's surprising to me that this crash, triggered by dismissing a confirmation dialog from a sheet's toolbar button, still hasn't been fixed in iOS 26.5 despite being present since iOS 26.

    Seems like a nested presentation collision.

    reddit.com/r/SwiftUI/comments/

    #swiftui

  16. It’s been a long time coming, but I’ve finally added iCloud sync to KeyStash, my #opensource Mac app for managing license keys.

    I’ve also moved the source code to Codeberg, and switched to Amore for distribution. You can of course still install via Homebrew with `brew tap ghall89/tap && brew install --cask keystash`

    codeberg.org/ghalldev/KeyStash

    #macos #swiftui #foss

  17. Es gibt einen Becher.

    Er gleitet über die Würfel, wenn du das Handy weitergibst. Glaubt die nächste Person dir nicht, tippt sie auf Anzweifeln — und der Becher hebt sich automatisch, die Wahrheit liegt offen.

    Eine Kleinigkeit. Aber genau das ist der Moment. Die Spannung vor diesem Tippen.

    Als eigenständiger Boolean-State implementiert, unabhängig von der Spielphase — damit die Animation für sich allein läuft.

    #buildinpublic #indiedev #indiegame #SwiftUI #iOS

    testflight.apple.com/join/fkU1

  18. There's a cup.

    It slides down to hide the dice when you pass the phone. If the next player doesn't believe you, they tap Challenge — and the cup lifts automatically to reveal the truth.

    A small thing. But it's the moment. The tension before that tap.

    It's a separate boolean, decoupled from the game phase — so the animation plays independently of what the game is doing.

    #buildinpublic #indiedev #indiegame #SwiftUI #iOS

    testflight.apple.com/join/fkU1

  19. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Let's continue refactoring the notification loop!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/Ift6hPn4CSw

  20. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Let's continue refactoring the notification loop!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/Ift6hPn4CSw

  21. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Let's continue refactoring the notification loop!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/Ift6hPn4CSw

  22. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Let's continue refactoring the notification loop!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/Ift6hPn4CSw

  23. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Let's continue refactoring the notification loop!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/Ift6hPn4CSw

  24. I need to create a list of locations in a macOS app based on a partial string. For example, the user enters "salem" and the app returns a list of suggested cities that are named Salem. What are my options for getting a list of suggested locations based on a partial string? Is MKLocalSearchCompleter the best solution here or is there something newer I can use?

  25. I need to create a list of locations in a macOS app based on a partial string. For example, the user enters "salem" and the app returns a list of suggested cities that are named Salem. What are my options for getting a list of suggested locations based on a partial string? Is MKLocalSearchCompleter the best solution here or is there something newer I can use?

    #macOS #swiftlang #swiftui

  26. I need to create a list of locations in a macOS app based on a partial string. For example, the user enters "salem" and the app returns a list of suggested cities that are named Salem. What are my options for getting a list of suggested locations based on a partial string? Is MKLocalSearchCompleter the best solution here or is there something newer I can use?

    #macOS #swiftlang #swiftui

  27. I need to create a list of locations in a macOS app based on a partial string. For example, the user enters "salem" and the app returns a list of suggested cities that are named Salem. What are my options for getting a list of suggested locations based on a partial string? Is MKLocalSearchCompleter the best solution here or is there something newer I can use?

    #macOS #swiftlang #swiftui

  28. I need to create a list of locations in a macOS app based on a partial string. For example, the user enters "salem" and the app returns a list of suggested cities that are named Salem. What are my options for getting a list of suggested locations based on a partial string? Is MKLocalSearchCompleter the best solution here or is there something newer I can use?

    #macOS #swiftlang #swiftui

  29. #SwiftUI is slowly breaking me today. I'd like to set the default tabs that show up on iPad when the sidebar is closed but I cannot for the life of me figure out what I need to do to make that happen.

    I know I have to use defaultVisibility, but it just…doesn’t work??

    developer.apple.com/documentat

  30. I think I accidentally turned the workout interval bars into art. Will keep it this way!

    #cycling #swiftui

  31. Want your app's data to stay fresh even when it's in the background? This guide covers everything from registering task identifiers and scheduling 𝐵𝐺𝐴𝑝𝑝𝑅𝑒𝑓𝑟𝑒𝑠ℎ𝑇𝑎𝑠𝑘𝑅𝑒𝑞𝑢𝑒𝑠𝑡 to handling tasks with the .𝑏𝑎𝑐𝑘𝑔𝑟𝑜𝑢𝑛𝑑𝑇𝑎𝑠𝑘 modifier and testing via Xcode debugger.

    🔗: nilcoalescing.com/blog/Schedul by Natalia Panferova (@natpanferova)

    #SwiftUI #BackgroundTasks #iOSDev

  32. Alright, I'll bite. My experience as a very very new-to-Mac #SwiftUI user trying to make my app feel more at home over the past few weeks: kirby.pika.page/posts/is-my-sw

  33. Die Würfelanimation ist komplett in SwiftUI gebaut. Kein SceneKit. Kein RealityKit.

    Drei überlagerte Flächen pro Würfel mit rotation3DEffect als 3D-Illusion. Ein Timer feuert alle ~120ms — schnelle Multi-Achsen-Rotation, jedes Mal eine zufällige Seite. Dann ein federndes Einrasten auf den echten Wert.

    KISS als Prinzip. Ich glaube, es hat sich gelohnt.

    #buildinpublic #indiedev #SwiftUI

    testflight.apple.com/join/fkU1

  34. The dice animation is built entirely in SwiftUI. No SceneKit. No RealityKit.

    Three overlapping faces per die using rotation3DEffect to fake a 3D cube. A Timer fires every ~120ms — rapid multi-axis rotation, random face each tick. Then a spring settle to the true value.

    The constraint was KISS. I think it paid off.

    #buildinpublic #indiedev #SwiftUI

    testflight.apple.com/join/fkU1

  35. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Short stream, but let's read from the new index!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/_ikfiy42qzg

  36. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Short stream, but let's read from the new index!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/_ikfiy42qzg

  37. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Short stream, but let's read from the new index!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/_ikfiy42qzg

  38. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Short stream, but let's read from the new index!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/_ikfiy42qzg

  39. I'm making a seasonal anime guide app, in the open for all to experience and learn from.

    Short stream, but let's read from the new index!

    #Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

    Come chill with me: youtube.com/live/_ikfiy42qzg

  40. 🚀Social Symbols, it’s now available as Swift Package! 🥳
    It works with #SwiftUI, #UIKit and #AppKit. Free to use, it has never been easier to add your socials on your app!

    It’s the first release so be nice and report issues… 😘

    github.com/jeremieb/social-sym

  41. I’ve hit a bit of a mental block with the iPad version of Groove.

    I’ve been using a very rough build on my iPad just to see where the pain points are, and it’s not really helping. I’ve tinkered a bit with the iPad version Overcast (since it was a big source of inspiration for Groove’s look and feel) but it’s not the direction I want to go at all.

    I don’t really use a lot of apps on my iPad in general so I’m not sure where else to turn for inspiration 😅

    #SwiftUI #iPadOS

  42. SwiftUI Mac devs: I'm having an issue with window sizing when using an inspector. The minimum window size is larger than expected, so there's a gap at the bottom equal to the height of the title bar. The only solution I can find is to manually subtract 52 pixels, which is better than nothing but not great. Any better ideas? I'm working on macOS 15 but this happens on macOS 26 also. Here's the code, and more detail about the problem: gist.github.com/robotspacer/c9 #MacDev #SwiftUI