Explore >> Select a destination


You are here

nilcoalescing.com
| | www.hackingwithswift.com
3.8 parsecs away

Travel
| | Learn Swift coding for iOS with these free tutorials
| | hop.ie
5.3 parsecs away

Travel
| | Styling existing UI components rather than creating new components
| | www.iamsim.me
5.2 parsecs away

Travel
| | Not being able to run arbitrary code in SwiftUI view builders can be quite annoying. The other day I realized it's possible to use self executing closures to work around this! Here's a contrived example that creates a stretchy header: struct ScrollThing: View { var body: some View { ScrollView { VStack(spacing: 0) { GeometryReader { g in Color.white .offset(y: { let offsetY = g.frame(in: .global).minY return offsetY > 0 ?
| | nilcoalescing.com
30.9 parsecs away

Travel
| Add custom foreground styles, such as gradients, to words inside Text views in SwiftUI.