/explore
|
You are here |
sarunw.com | ||
| | | | |
www.objc.io
objc.io publishes books, videos, and articles on advanced techniques for iOS and macOS development. |
|
| | | | | ||
| | | | |
fatbobman.com
ViewBuilder - Result builders? result builders ViewBuilder SwiftUI |
|
| | | | | ||
| | | | |
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 |
|
| | | | | ||
| | | | |
swiftfox.co
Just brought home your Apple Vision Pro and are ready to start developing? Well hold on a second - the process for setting it up isn't super clear and doesn't exist anywhere in Apple's documentation that I could find. The steps are pretty simple, but you will be jumping back and forth between the headset |
|
| | | |||