Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.
Discussion options

You must be logged in to vote

Hi @XuNeal, sorry for late response, I was on holidays. I moved it to Discussions tab, as it is more of a question rather than the issue with the tutorial.

The difference between old and new arch on iOS is that, new arch introduces additional communication layer written in C++. Because, Swift & C++ interoperability is very limited at the moment, we cannot directly call Swift classes, methods, functions, etc. with C++ arguments - which might be the case in new arch (e.g. when you want to pass a JS object argument into your native module method). You can take a look at the "official" samples in react native community github, where
Swift code is used in the same way as in the tutorial (via i…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mateusz1913
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #35 on May 04, 2023 07:41.