Trailing Closure (@TrailingClosure) header
Trailing Closure (@TrailingClosure) profile picture

Swift programming and design tutorials for all to learn! Stop by and check us out!

Joined November 2019
Another weekend #SwiftUI tutorial for you to dig into! This week I work through creating a custom dropdown picker in SwiftUI. Check it out here: trailingclosure.com/dropdown…
3
16
Another weekend #SwiftUI tutorial for you to dig in to! This week I recreate the Strava Activity graph using SwiftUI. Check it out here: trailingclosure.com/recreati…
Another quick #SwiftUI Tutorial: Create a popout sidebar menu in SwiftUI trailingclosure.com/create-a…
1
3
34
One more #SwiftUI Micro-interaction tutorial this week. Create a button for displaying the state of asynchronous tasks such as downloading, submitting, or loading data. trailingclosure.com/micro-in…
1
2
6
Another #SwiftUI Micro-interaction! This week's tutorial is packed with tons of examples to get you started. Check it out here: trailingclosure.com/micro-in…
2
13
Posting one example of a micro-interaction in #SwiftUI. Incorporating animations like these can add polish to your next app. Tutorial below! trailingclosure.com/micro-in… More examples coming in a few days. Stay Tuned!
19
Replying to @EstebanC02
Try wrapping your `HStack` in another View such as a `Group`, then limit it's frame to the device's size or whatever suits your UI.
1
Here's a technique I use to implement "Snap To View" Scrolling in #SwiftUI trailingclosure.com/snap-to-…
4
12
1
103
Messing around with isometric views in #SwiftUI Any interest in a tutorial?
9
6
105
#SwiftUI Quick Tip - Create a stretching header at the top of your ScrollView. It can be used for both Images AND custom Views. trailingclosure.com/?utm_sou…
2
8
New tutorial up! Check out our tutorial on creating a parallelogram shape. It's simple yet perfect for creating great-looking views in #SwiftUI. trailingclosure.com/swiftui-…
1
1
18
Replying to @dangitdennis
Great catch! Yes, that's exactly what it's doing. 😓 Apple advises against this when using the CMMotionManager (developer.apple.com/document…). You can instantiate the ObservedObject outside and pass it in as a parameter to multiple modifiers to get around this. I'll update it now!
1
1
Having fun with #SwiftUI 2.0 and decided to create a package for this animated text view I created. It utilizes the new .onChange() function that's available in #iOS14 And yes it uses the new LibraryContentProvider :) Check it out here: github.com/jboullianne/TCAni…
1
3