/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

nilcoalescing.com
| | www.hackingwithswift.com

Learn Swift coding for iOS with these free tutorials
3.8 parsecs

Travel
| |
| | www.iamsim.me

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
5.2 parsecs

Travel
| |
| | benoitpasquier.com

With SwiftUI being recently introduced, I was curious if we could take advantage of SwiftUI preview to speed up testing localization and make sure your app looks great for any language.
4.2 parsecs

Travel
| |
| | nilcoalescing.com

Learn how to build a macOS menu bar app in SwiftUI using MenuBarExtra, customize its icon, hide it from the Dock, and add essential features like a quit option.
25.8 parsecs

Travel
|