Explore >> Select a destination


You are here

jcarroll.xyz
| | hamatti.org
6.7 parsecs away

Travel
| | I approach new code in a few different ways depending on the mood, the feature or bug at hand and my confidence level. Here are the five different approach I use.
| | blog.demofox.org
5.1 parsecs away

Travel
| | Over the past year or so I've been digging fairly deeply into curves, mostly into Bezier curves specifically. While digging around, I've found many mentions of the De Casteljau algorithm for evaluating Bezier curves, but never much in the way of a formal definition of what the algorithm actually is, or practical examples of it...
| | www.iamsim.me
10.9 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.neilmacy.co.uk
80.6 parsecs away

Travel
| SwiftUI adds styles as a way of (heavily) customising the appearance of a standard control, which lets you avoid creating wrapper classes.