Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Access All the Objective-C APIs Using JSI - React Native EU 2022

Callstack Engineers via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore how to leverage the JavaScript Interface (JSI) to access Objective-C APIs directly from the JavaScript context in this 39-minute conference talk from React Native EU 2022. Learn the process of writing JSI code to bridge individual APIs from the Objective-C runtime to JavaScript, and discover the potential to bridge all available Objective-C runtime APIs. Gain insights into synchronous API access, handling non-serializable data types, and overcoming the challenges of limited JSI documentation. Follow along as Jamie Birch demonstrates the approach used in the shirakaba/react-native-native-runtime GitHub repository, covering topics such as JSI module setup, Objective-C runtime projection, implementing constructors and invocations, and future possibilities for this technology.

Syllabus

Introduction
Background
What should we care
JSI module setup
JSI support
ObjectiveC runtime projection
ObjectiveC Serializable API
ObjectiveC NonSerializable API
Implement Constructor
Implement Invoke
Confession
Future ideas

Taught by

Callstack Engineers

Reviews

Start your review of How to Access All the Objective-C APIs Using JSI - React Native EU 2022

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.