Learn How to create a Native Module in iOS using swift.
📹 Complete Courses:
React Native: https://bit.ly/3tDRMTd
Flutter: https://bit.ly/3FXrheC
🔗 Resources :
Official Docs: https://reactnative.dev/docs/native-m...
Tutorial Ref: https://teabreak.e-spres-oh.com/swift...
Project Files : https://github.com/nathvarun/react-na...
Chapters
00:00 - Introduction
00:13 - Project Setup React Native
00:45 - Xcode New Swift File
01:30 - Bridging Header
02:20 - 1. Counter Module - increment()
03:32 - Export Module and Method to react native
05:25 - Import Native module in React Native
06:25 - 2. requiresMainQueueSetup()
07:19 - 3. constantsToExport() - Exporting Constants
08:16 - 4. pass data from Native to JS using callback - RCTResponseSenderBlock
09:50 - 5. Returning data as Promise from Native to JS
13:47 - 6. Emitting Events from Native to JS - RCTEventEmitter
Was it helpful?
Support : https://www.buymeacoffee.com/unsurepr...
Twitter / nathvarun
Instagram / nathvarun25
Facebook / nathvarun
Contact unsureprogrammer@gmail.com
On this page of the site you can watch the video online Native iOS Module in React Native using Swift with a duration of hours minute second in good quality, which was uploaded by the user Unsure Programmer 25 March 2022, share the link with friends and acquaintances, this video has already been watched 47,330 times on youtube and it was liked by 768 viewers. Enjoy your viewing!