4 ms·
I have built some basic apps like the to-do list using Swift and Objective-C but haven't built anything significant yet. I have an idea for an app I want to bui
by dntrkv 12y ago
I have built some basic apps like the to-do list using Swift and Objective-C but haven't built anything significant yet. I have an idea for an app I want to build in the coming weeks, but I'm unsure if I should use this as an opportunity to learn React Native or just go the Swift route and really cement my knowledge there. Can anyone who's tried both weigh in?
- colinramsay 12y agoReact Native has a really low barrier for entry, it's easy to knock something together quickly though it's not ready for certain kinds of more complex apps yet IMO. The community is putting out new components and plugins quickly though, which is encouraging.
- iLoch 12y agoI'm the opposite. I've done about 2.5 months of React Native now. I'm pretty certain React Native is what you want to roll with. Anything you can do in Objective-C can be done in React Native (since you can create Native modules anywhere RN falls short). You could see MAJOR improvement in development time. I'm not a mobile developer and I tried writing a mobile app a while back - I'm completely useless. With React Native, I've made huge strides in developing a fairly complex app with a completely custom look and feel. I'm sure if I had stuck to native coding I'd either never finish, or this app would take me an order of magnitude more time to complete. If you want an example of how awesome React Native is, go check out Apple's example app "AVCam" then take a look at the example code for my react-native-camera module on GitHub.
- strife25 12y agoHow do you handle the storage tier (e.g. Core Data) of your react-native apps? Do you just write native Obj-C that handles interacting with core data and integrate it w/ your react code?
- iLoch 12y agoYeah that would be how you'd do it. Writing modules is dead simple too. Doing something like that would just require you making an async interface to your Obj-C Core Data manager.
- therealwill 12y agoWhat about apps that using OpenCV or C++ code?
- masklinn 12y agohttps://facebook.github.io/react-native/docs/nativemodulesios.html#content https://facebook.github.io/react-native/docs/nativemodulesio...
- gdubs 12y agoWhat's your goal? Are you looking to gain knowledge in the platform, or is your focus the product itself?
- dntrkv 12y agoA bit of both, I would like to finish this app within the near future, but I also am interested in exploring mobile development as a career. I guess my main question would be, is there enough overlap in the two that learning React Native would help ease me into development in Swift.