~/talk

How LEGO can inspire us to build better UI Libraries

Talkat SwiftLeeds 2024 · 2024-10-08..10-09· [component-design, design-collaboration]
links:none on file
slides:none on file

GetYourGuide moves an FAQ into a generics-based accordion component written in SwiftUI so the same element migrates across screens; code switches from concrete text+chevron to header/body generics, reducing duplicated rigid components. Team of ~10 iOS engineers finds an accessibility bug (header exposed as static text because of onTapGesture) and fixes it by using Button; RTL issues get caught with an RTL preview modifier and icons flipped via XCAssets. Snapshot tests run with snapshot testing via Points Free, adding ~20–30% dev time but yielding reusable, testable library components that work.

AI-written summary · about

  1. 0:00Introduction
  2. 2:17From pirate ship to LEGO mindset
  3. 7:13Composition as LEGO blocks
  4. 11:12Reusable building blocks
  5. 12:19Localization in UI libraries
  6. 14:03Accessibility first
  7. 17:36Documentation and naming
  8. 18:40Testing UI components
  9. 20:03Moral and summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.