Hey there! I'm back with more SwiftUI articles. Check out a new installment of the advanced animation series. This part dives deep into the exciting new CustomAnimation protocol introduced at WWDC’23 🚀 #iOSDev#SwiftUI https://t.co/gylz5tRuwD
Okay y'all, I think I found the best idea for the Dynamic Island on the iPhone 14 Pro. I added a cat that lives up there like a tamagotchi and just hangs out and does cute stuff as you browse Reddit in my app (Apollo).
Sometimes 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 `opacity()` modifier to make the view fully opaque or transparent.
Fully transparent views are also hidden from VoiceOver.
This is such a nifty way to handle Focus in SwiftUI - just use the model you already have and focus things via AnyKeyPath.
I picked this up from @natpanferova's blog, @NilCoalescing - good stuff.
I’m now publishing my Swift, SwiftUI and other articles at https://t.co/sXHg9rjaQL It also has some of my old posts and posts from @hishnash. More coming!