|
You are here |
sarunw.com | ||
| | | | |
ashishkakkad.com
|
|
| | | | | SwiftUI announced in WWDC 2019. It's an innovative, exceptionally simple way to build user interfaces across all Apple platforms with the power of Swift. In previous blog I have shared some references from apple documents. We will learn it by examples. First of all let's start with simple UI. Create New Project Create new project ... Read more | |
| | | | |
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 ? | |
| | | | |
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.neilmacy.co.uk
|
|
| | | A really nice improvement to Previews, with a macro cleaning up the boilerplate, and parity between SwiftUI and UIKit. | ||