Landon Epps
banner
landonepps.bsky.social
Landon Epps
@landonepps.bsky.social
Software Engineer
Reposted by Landon Epps
Using #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.
January 19, 2025 at 9:46 PM
Reposted by Landon Epps
2025 should be the year you stop using WCAG 2 colour contrast testing, and switch to APCA. This article is a few years old, and covers everything well. blog.datawrapper.de/color-contra...
January 6, 2025 at 12:41 AM
Vampeepee was not on my 2025 bingo card
January 3, 2025 at 4:29 AM
Reposted by Landon Epps
UIKit tip: UIKit has a couple of hidden user defaults that turn on a bunch of very useful gesture logging. gist.github.com/harlanhaskin...
December 20, 2024 at 7:28 PM