Don't be afraid to build a native library
summary
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
chapters (8)
- 0:00The problem and requirements
- 1:25Designing the clean API
- 4:29Choosing a native approach
- 5:51Implementing the JS layer
- 7:31Developing the Swift native code
- 12:20Debugging the Swift integration
- 14:05Connecting React to native
- 16:07Lessons in native development
related talks
45mIntroduction to building a universal app with React Native and Expo
36mMake Your Apps Move! Awesome Animations with React Native ⚡️
25mBuilding native modules for React Native
24mIntegrating React Native into an existing native codebase
34mFrom Idea to App Store"A Guide to Shipping React Native Apps"
23mTeam × Technology
28mBeing a Good Platform Citizen
45mThe Dark Art of Native APIs
