Explore >> Select a destination


You are here

nilcoalescing.com
| | www.iamsim.me
3.4 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 ?
| | www.objc.io
2.7 parsecs away

Travel
| | objc.io publishes books, videos, and articles on advanced techniques for iOS and macOS development.
| | ashishkakkad.com
3.0 parsecs away

Travel
| | Today I will show you how to display the data from the JSON API response to list view of SwiftUI. Let's Call API Here I am parsing simple json file which contains the response of contacts. Here are the list of models required to be filled from the JSON response. In above model file I ... Read more
| | swiftwithmajid.com
26.2 parsecs away

Travel
| During WWDC 23, SwiftUI introduced a new view modifier called visualEffect. This modifier allows us to attach a set of animatable visual effects by accessing layout information of the particular view. This week, we will learn how to use the new visualEffect view modifier in SwiftUI.