~/talk

Creating reusable container views

links:none on file
slides:none on file

Builds a reusable SwiftUI pager called PagerTabStripView using GeometryReader, the new Layout protocol (iOS 16), LazyHStack inside a ScrollView, and an EnvironmentObject-backed data store. Implements tappable “tab” items, a moving indicator, and per-page views that preserve their state when you navigate away. Explains layout math for indicator placement, shows how pages are registered via frames, and proves the library works and composes inside other scrollable containers.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33What are container views
  3. 4:04Library overview
  4. 5:51Challenges in development
  5. 7:22Arranging views with GeometryReader
  6. 8:46Using Layout protocol
  7. 12:48Sharing state between views
  8. 15:41Q&A session
~/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.