@tewha "Watch the rat dance every time we give it an electric shock! And it's so happy when the shocks stop! Ha ha ha!"
—Swift compiler team
#swiftui
I just spent about two hours refactoring a view in a way that the Swift compiler could still accept. I still don't know what I wss doing wrong, just making a small change at a time and reverting if I got "unable to type-check this expression in reasonable time."
Extremely frustrating. Better code now, though. #SwiftUI
The Apple Developer Relations team told us to spread the word to empower more women in app development. There are cool events in Berlin and Singapore soon!
Go girls!
https://developer.apple.com/events/view/TK4P8346JC/dashboard
#iosdev #swift #appleevents #swiftui #apple
SwiftUI's layout engine can be tricky, especially when you need to place views at specific coordinates. Understand how the 𝑝𝑜𝑠𝑖𝑡𝑖𝑜𝑛 modifier works and what caveats to watch out for.
🔗: https://wesleydegroot.nl/blog/how-to-position-views-in-swiftui by Wesley de Groot
Fixed the issue where permissions could be changed causing potential issues down the line. Tomorrow night, let's get back into authoring invites. See you then!
🔜 Tomorrow’s stream: https://youtube.com/live/WxAARfe9G-U
⏮️ 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.
Another short stream, but let's validate permission visibility!
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
Come chill with me: https://youtube.com/live/sDUwTRykiYg
Do I really have to check if an UIImage with a SFSymbol name does not return nil to make sure that the SFSymbol ist valid?
#SwiftUI Image(systemName: ) is always valid even if it does not contain an image.
I’m a bit confused…
Sooooooooo if I implement `init` in a #SwiftUI View, it’s executed every time the freaking view is shown, even when it’s the result of navigating back (i.e. already in memory). And of course all `@state` properties get set to their default values. Why⁉️ This is making me move some initialisation outside the freaking view. It’s leakage, I fucking hate it‼️
Building #iOSApps often means stitching together blog posts & Apple samples - rarely reflective of production-ready architectures.
The Kotlin/Android ecosystem, by contrast, has aligned around well-documented, real-world patterns.
Ivan Bliznyuk explores how these approaches can be adapted to Swift/SwiftUI to build maintainable, scalable iOS apps.
Read now on #InfoQ 👉 https://bit.ly/4r5ZwI4
#ArchitecturePatterns #DesignPattern #Kotlin #SwiftUI #MobileDevelopment

Audio Descriptions https://wesleydegroot.nl/blog/audio-descriptions #Accessibility #SwiftUI
Apple's named "pink" isn't very. #AppleDevelopment #SwiftUI

The SwiftUI Architecture book just crossed 100+ copies sold.
No publisher.
No launch team.
No marketing machine.
Just iOS developers who care about building scalable apps the right way.
Grateful for the support 🙏
https://azamsharp.school/swiftui-architecture-book.html
