There are some things that CAN be done in react native but due to performance concerns, I have decided to implement in Swift and then run it in react native, for example, image processing.
Suppose I have a swift app that doesn't do anything other than displaying Hello World
like so:
the code for it is not modified at all:
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
}
I would like to run this simple app in react native in this fashion:
SimpleApp.show();
How can I make this happen?