Your explanation is excellent. I tried to do in my case, it was to extend the functionality through Swift, calling the Swift class and functions in Objective-C, or passing parameters to the Swift functions from Objective-c, that is, I use what is generated from codegen, but I do the extension with Swift, in order to be able to use many current Swift libraries and documentation, now I am trying to install a swift library in the pod but I have had problems with flipper, because I have to activate "use_frameworks" in the Podfile .
Hey, thank you for your tutorial, I am currently trying to do something similar, I have a Swift XCFramework and I'm trying to create a Turbo Native Module that will load the Swift XCFramework code into React Native, do you think that is possible? If not, what would you suggest as a solution for this specific case? Thank you.
React Native team may solve some performance issues but it is too complex to add turbo modules. Now you have to know c++ and objective c. I have just checked how flutter is implementing native modules. It is way more easier than react native.
Flutter and RN have behaved kinda the same until now, both provide communication through an asynchronous message queue to the native side, i think it may take a while as this new arch thing is in a fully usable state for everybody
great tutorial sir, could you please make a tutorial from begining from old scholl bridge for react native and make it as a series ? and then jsi/turbo modules, I believe your channel will have lot of subs and views because there are many devs search for this tutorial, since the docs from react native is not much on internet, thank you
Your explanation is excellent. I tried to do in my case, it was to extend the functionality through Swift, calling the Swift class and functions in Objective-C, or passing parameters to the Swift functions from Objective-c, that is, I use what is generated from codegen, but I do the extension with Swift, in order to be able to use many current Swift libraries and documentation, now I am trying to install a swift library in the pod but I have had problems with flipper, because I have to activate "use_frameworks" in the Podfile .
yeah, but you could've always done that, nothing fancy about internally calling other swift functions, but kinda beats the point of codegen
Hey, thank you for your videos. But if I export swift functionality to Objective-C, and then connect JSI to Objective-C, will it work?
Yeah, but there is overhead. I have managed to call Swift functions directly from C++ using Swift 5.9 though
Hey, thank you for your tutorial, I am currently trying to do something similar, I have a Swift XCFramework and I'm trying to create a Turbo Native Module that will load the Swift XCFramework code into React Native, do you think that is possible? If not, what would you suggest as a solution for this specific case? Thank you.
Check out the latest video I just uploaded (Using rust in react-native). Loading XCFramework modules work just fine.
React Native team may solve some performance issues but it is too complex to add turbo modules. Now you have to know c++ and objective c. I have just checked how flutter is implementing native modules. It is way more easier than react native.
🤷♂
Flutter and RN have behaved kinda the same until now, both provide communication through an asynchronous message queue to the native side, i think it may take a while as this new arch thing is in a fully usable state for everybody
great tutorial sir, could you please make a tutorial from begining from old scholl bridge for react native and make it as a series ? and then jsi/turbo modules, I believe your channel will have lot of subs and views because there are many devs search for this tutorial, since the docs from react native is not much on internet, thank you
There is already an entire series of JSI videos on my channel
👍👍👍🔥🔥🔥
Why all people want to use Swift? Obj-C is awesome and very intuitive language.