Build React Native modules with Swift

  Рет қаралды 7,953

Scott Batson

Scott Batson

2 жыл бұрын

At Threadable, we've been working for a while on this great app called Threadable (now live on the app store). In it, we had to leverage some native modules but Objective-C was not the easiest programming language to grasp, and it doesn't seem to be as widely used as Swift. So we explored how to leverage Swift in a React Native project that depends on Objective-C
Checkout Threadable:
www.threadablebooks.com/
Threadable Case Study:
upstatement.com/case-study/th...
My PR into react-native-webview (Objective-C):
github.com/react-native-webvi...

Пікірлер: 20
@jannisroloff361
@jannisroloff361 9 ай бұрын
04:29 start with ios workspace 06:20 create swift file 06:40 create ObjectiveC Bridge Header 07:17 start with swift module 08:58 creating another ObjectiveC File 10:40 implementing swift component into react-native 13:40 creating WebWiew swift Component
@gofudgeyourselves9024
@gofudgeyourselves9024 2 жыл бұрын
Can you show how to use Swift + Turbo Modules?
@rahulrajput18
@rahulrajput18 Жыл бұрын
Awesome man! Thanks for such an insight.
@atljBoss
@atljBoss Жыл бұрын
Great tutorial with a good real world problem thank you for this
@ScottBatson
@ScottBatson Жыл бұрын
Thanks for watching!
@msabaeian
@msabaeian 2 ай бұрын
Very Nice!
@r13aero
@r13aero Жыл бұрын
great tutorial!
@ScottBatson
@ScottBatson Жыл бұрын
Thanks for watching!
@moosegoose1282
@moosegoose1282 6 ай бұрын
nice vid. can u also make one using functional comp on reacts side? and then publishing package and install it in a RN project
@elmcapp6032
@elmcapp6032 Жыл бұрын
Could you do an example of using codeable struct. Example React native sends a json object to the swift backend then we use codeable struct and store data in useDefault
@cvemwanda
@cvemwanda Жыл бұрын
How does one pass in a View prop and use in in the swift file?
@rahulrajput18
@rahulrajput18 Жыл бұрын
Can you do more of these? Subbed and hopeful. Cheers!
@ScottBatson
@ScottBatson Жыл бұрын
I'd really like to by having a baby + work hasn't left a lot of free time. I'm hoping to get some new stuff up soon!
@rahulrajput18
@rahulrajput18 Жыл бұрын
@@ScottBatson Ohh great! All the best man :)
@tiagomsmagalhaes
@tiagomsmagalhaes Жыл бұрын
Could you check at the point (24:00) when you set the htmlString if the WKWebView would be scrollable? I went url instead but cannot scroll
@ScottBatson
@ScottBatson Жыл бұрын
Hmm We've used normal URLs with this component too and it's been scrollable. Is there something wrapping the element that might be interfering with the user input?
@swapnilvishwa156
@swapnilvishwa156 Жыл бұрын
how to use SwiftUI
@danilo900tube
@danilo900tube 2 жыл бұрын
Hello! Did you need to do that on Android ?
@ScottBatson
@ScottBatson 2 жыл бұрын
We haven’t released our Android version yet. But when we do, we’ll have to figure out how to do it in Java or Kotlin, yes
@danilo900tube
@danilo900tube 2 жыл бұрын
@@ScottBatson Ohhh ic
Custom hooks in React.js
16:42
Scott Batson
Рет қаралды 165
Deep Dive Into React Native - Lev Vidrak
32:09
Wix Engineering Tech Talks
Рет қаралды 18 М.
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 104 МЛН
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 15 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 158 МЛН
Build a JSON API with Elixir / Phoenix in under an hour
55:36
Scott Batson
Рет қаралды 41 М.
I think about this article a lot...
8:18
Theo - t3․gg
Рет қаралды 82 М.
Native iOS Module in React Native using Swift
18:23
Unsure Programmer
Рет қаралды 34 М.
Build 5 Apps in 5 Minutes with Flutter… But should you?
8:53
Moving Off React Native
20:50
Theo - t3․gg
Рет қаралды 179 М.
How to code in Swift | Swift Basics #1
18:25
Swiftful Thinking
Рет қаралды 37 М.
Should You Learn Native or Cross-Platform Mobile Development?
10:32
Kenny Gunderman
Рет қаралды 77 М.
React native android bridge | Kotlin
15:34
aditya kumar
Рет қаралды 3,9 М.
Неразрушаемый смартфон
1:00
Status
Рет қаралды 2,4 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,9 МЛН
Спутниковый телефон #обзор #товары
0:35
Product show
Рет қаралды 2,1 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,7 МЛН