When we need to hide and show a view in #SwiftUI depending on a setting or state, but don’t want our layout to shift when the view appears, we can use the opacity() modifier.
SwiftUI automatically hides the view from accessibility when it's invisible.
https://nilcoalescing.com/blog/HideAndShowAViewWithOpacity/
I recently finished the online #course ‘#iPhone Apps for Complete Beginners with #Swift, #SwiftUI & iOS17’.
Read more about the course on my blog:
https://msicc.net/2024-12-02-finished-course-iphone-apps-for-complete-beginners-swift-swiftui-ios17/
Is there still no built-in way in #SwiftUI to give Text a stroke width, like an outline font?
What I find are still the old workarounds of rendering the Text multiple times using offsets or applying the modifier `.shadow(color: .black, radius: 1)`.
How it is possible that Swift Playgrounds on iPad still has not been updated with the iOS 18 SDK? Sigh. #SwiftUI
Collapsing header animation in one of my apps made with SwiftUI.
Header is animated using GeometryReader, allowing it to shrink as you scroll. Both the header and ScrollView are embedded in a ZStack, aligned to the top.
What do you think?
#swiftui #iosdev #indiedev #ui #UXDesign #buildInPublic
Is there a good example for creating a menu bar item in SwiftUI - like the calendar apps do #apple #SwiftUI
#applewatch complications to the max in my app #solarlens for Solar-Manager .Unbelievable how many details one can/have to address or know. Various complication families in various render-modes and technical constrains like image-size and image-color-formats. #SwiftUI
This is the 4th video in the MyTallies seies and completes the iOS/Widget section. Learn how you can invoke our intents and update any tally we want by simply uttering a phrase to Siri for a shortcut
#Swift #SwiftUI #Widgets #AppIntents
I used yesterday's adventures to give Hike Maker a thorough test as we walked between the four towns of Warrington, Golbourne, Newton-le-Willows and Platt Bridge. Needs a few tweaks, but worked fine over the more than 5 hours of walking 👍🚶
#iosdev #swiftUI #walking
Good amount of cleanup done today for web notifications. Tomorrow, let's finish hooking up the two drop-downs and deploy it for wider testing. See you then!
🔜 Tomorrow’s stream: https://youtube.com/live/T8btcxI_8Ts
⏮️ 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
Any ideas how to do focus management for a grid in #SwiftUI with keyboard control like in the FreeForm app, or is this an #AppKit thing? 🤔 #macosdev #macdev #macOS
I'm making a seasonal anime guide app, in the open for all to experience and learn from!
Let's tidy up the notification code now that it works, and prop up the options in the UI!
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
Come chill with me: https://youtube.com/live/PZUujbmoCGQ