~/talk

How to access all the Objective-C APIs using JSI

Talkat React Native EU 2022 · 2022-09-01..09-02· [react-native, javascript]
slides:none on file

Describes concrete JSI code that projects the Objective‑C runtime into JS via a JSI host object, showing serialisable access (NSString constants like NSStringTransformLatinToHiragana), non‑serialisable objects, class lookup with NSClassFromString, symbol lookup with dlsym, and method invocation by building selectors. Provides an implementation in shirakaba/react-native-native-runtime and pragmatic notes: bootstrap via RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD, marshal closures, use JSI utils, expect startup race conditions and intermittent crashes from strong/weak ref memory issues that need C++ review.

AI-written summary · about

  1. 0:00Introduction
  2. 1:23Background
  3. 2:54What should we care
  4. 4:26JSI module setup
  5. 10:32JSI support
  6. 16:47ObjectiveC runtime projection
  7. 22:25ObjectiveC Serializable API
  8. 25:09ObjectiveC NonSerializable API
  9. 28:26Implement Constructor
  10. 34:13Implement Invoke
  11. 35:18Confession
  12. 36:39Future ideas
~/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.