~/talk

Don't be afraid to build a native library

Talkat App.js Conf 2024 · 2024-05-22..05-24· [react-native]
slides:none on file

Builds a native iOS image gallery for React Native by wrapping an existing Swift library image-viewer.swift inside an Expo module called Galleria. Implements shared-element transitions, pinch and double-tap zoom, pan-to-close, multi-image swiping, modal presentation, high‑res expanded images and native context menus. Uses CocoaPods and Xcode, reads child UIViews to obtain the UIImageView instance instead of recreating images, struggles with wrapping Expo Image lead to design change, and the result works in the be gig app and is open source.

AI-written summary · about

  1. 0:00The problem and requirements
  2. 1:25Designing the clean API
  3. 4:29Choosing a native approach
  4. 5:51Implementing the JS layer
  5. 7:31Developing the Swift native code
  6. 12:20Debugging the Swift integration
  7. 14:05Connecting React to native
  8. 16:07Lessons in native development
~/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.