|
You are here |
nilcoalescing.com | ||
| | | | |
swiftwithmajid.com
|
|
| | | | | The SwiftUI framework became a mature tool for building apps on all Apple platforms. The recent WWDC introduced missing APIs, adding more value to the framework. One of them is even backward compatible with previous versions of Apple platforms. This week, we will discuss tracking geometry changes of any view in SwiftUI. | |
| | | | |
arturgruchala.com
|
|
| | | | | Parallax headers are a popular design pattern that can be used to create visually stunning interfaces in mobile and web applications. A parallax header creates the illusion of depth and movement by moving content at different speeds as the user scrolls. In this blog post, we'll be discussing the implementation | |
| | | | |
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 ? | |
| | | | |
www.hackingwithswift.com
|
|
| | | Learn SwiftUI by following 100 days of free tutorials | ||