π SwiftUI π€ AI prompt master π¨βπ» Staff iOS engineer @medium π«π· Entrepreneur, iOS/macOS & more engineer π«‘ Previously @glose π @google π & various other
Dec 2 β’ 5 tweets β’ 2 min read
So, how do you make this cool transition in pure #SwiftUI with a basic zoom navigation transition, using sheet presentation and a well-architectured router? I'm glad you asked! π§΅
This is the view I have in my post row below the text content. Notice that the tap gesture uses the router from the environment and passes the current namespace and sets the presented sheet to our full-screen media view. The other important thing is the matchedTransitionSource.
Jan 11, 2023 β’ 8 tweets β’ 4 min read
Let's start a thread on my best finding in #SwiftUI for iOS 16 exclusively, as I've used it to write #IceCubesApp
The 1.0 about to get released on the App Store (well if Apple finally decide so) so this is a good time for that thread.
github.com/Dimillian/IceCβ¦1. .toolbar is more powerful than ever. You can use ToolbarTitleMenu to have a complexe menu right in the title of navigation bar. Don't forget you can also use .toolbar with keyboard placement on TextField for keyboard accessory view.