/explore
|
You are here |
jcarroll.xyz | ||
| | | | |
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.danstroot.com
The way programming is taught is usually aligned to how computers work (why variables are 16, 32 or 64 bits) and language constructs and syntax. However, the way I learned coding was not how we teach coding. I learned by building things. What motivates learning for beginners? |
|
| | | | | ||
| | | | |
codingrelic.geekhold.com
ipyvolume is an extension for Jupyter notebooks which handles 3D charts and objects. There are several built-in chart types including 3D s... |
|
| | | | | ||
| | | | |
www.fourdigits.nl
Last month we visited the 8th edition of CSS Day in the Zuiderkerk in Amsterdam to learn about the latest tips, tricks and evolution of CSS. And what a blast it was! CSS day was actually two days. In this blog post, Thijs will cover the first day and Bernd the second. |
|
| | | |||