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 [email protected]
Watch video Native iOS Module in React Native using Swift online, duration hours minute second in high quality that is uploaded to the channel Unsure Programmer 25 March 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 41,716 times and liked it 721 visitors.