robb @robb.is · 29/07/2026TIL San Francisco has a Contextual Alternative glyph for ƒ preceding numbers, in case you're talking about apertures like ƒ2 – sweet 151
robb @robb.is · 16/10/2025Today, we've updated Linear Mobile with an all-new design that looks great on iOS 26, and thanks to the powerful APIs #SwiftUI has been adding over the past few years, we're bringing it to iOS 18 with zero compromise. Get the update here: apps.apple.com/app/linear-m... 2122
robb @robb.is · 29/06/2025I'm working on a post on how to implement the iCloud Sign In animation in #SwiftUI – coming soon to patreon.com/swiftui_snippets 0270
robb @robb.is · 01/06/2025Hell froze over, I made a macOS app! github.com/robb/FolderI... Use it to generate custom folder icons that match the ones found on macOS Sequoia. 2647
robb @robb.is · 17/04/2025When animating a count in #SwiftUI, use `monospacedDigits()` so the frame doesn’t change as frequently – however, that can leave leading 1s look disconnected so I'm skipping it for the first digit while keeping formatting intact gist.github.com/robb/f8fdcca... 190
robb @robb.is · 17/04/2025If you're trying to like, *really* center Text in #SwiftUI, use a TextRenderer to disable subpixel quantization: 1280
robb @robb.is · 03/03/2025I've published a new #SwiftUI Package to automatically visualize touches during Screen Recording, Screen Mirroring and when using the iOS Simulator: github.com/robb/visuali... 1364
robb @robb.is · 02/03/2025You’ll find the value is only dependent on the radius, so you can just multiply with the radius instead of creating a whole Path and taking it apart. (unless of of course, it crosses the midpoint of the shortest edge) 100
robb @robb.is · 02/03/2025If you create a 9-slice from a rounded rectangle you created on iOS, you need to take into account that the distance from the corner to the first axis-aligned control point is about 152.866% of the radius. I found this value through some empirical computer science in a quick #SwiftUI preview. 1150
robb @robb.is · 19/01/2025Using #SwiftUI’s UIGestureRecognizerRepresentable and Anchor Preferences, you can build a ButtonStyle that is triggered by a long-press in a parent view in addition to regular taps. This enables building custom menus like this that allow triggering an action with a single long press. 0507
robb @robb.is · 01/01/2025Work-in-Progress #SwiftUI glitch effect featuring chroma subsampling; random offsets for lines, blocks and pixels; chromatic abberation in YCbCr as well as RGB channel shuffling. 3361
robb @robb.is · 08/12/2024The SVG effect on display here is a group of feGaussianBlur ➝ feColorMatrix ➝ feOffset filters grouped in a feMerge. That translates 1:1 to GraphicsContext.Filter.blur, .colorMatrix and . projectionTransform drawn on top of each other. 0131
robb @robb.is · 07/12/2024Pro Tip: you can, like "Right-click, View Source" on the web and port your favorite SVG effects to SwiftUI as their graphics primitives are very similar. 1301
robb @robb.is · 07/12/2024Luckily, all these primitives translate really well to GraphicsContext.Filer 010
robb @robb.is · 05/12/2024Quick tutorial how the stitching was achieved: - Use `strokedPath(_:)` to split the path into multiple lines, using a two-component dash array. - Convert to a CGPath, split it into subcomponents using `componentsSeparated(using:)`. - Apply a rotation to each line. - Merge them back together. 1696
robb @robb.is · 05/12/2024Thanks to #SwiftUI 's powerful graphics APIs, I am this close to retiring my copy of Photoshop CS6 for good 🤏 1315616
robb @robb.is · 03/12/2024This kind of smart, walkable, mixed-use urbanism is illegal to build in many American cities 0170
robb @robb.is · 16/11/2024I reimplemented the iconic Family App label using SwiftUI's TextRenderer 2354