CodeNewbie Community ๐ŸŒฑ

Tom R
Tom R

Posted on

React native and swift?

I'm a coding newbie having just emerged from a coding bootcamp. I'm toying with swift and native iOS development but on my course I learnt webdev with React.

I've just come across React Native - as far as I am aware you can only publish to the app store in Swift and Objective C? So how can you make 'native' iOS apps in React Native?

I think I must be missing something obvious ๐Ÿ˜ฎโ€๐Ÿ’จ

Top comments (3)

Collapse
 
ben profile image
Ben Halpern

React Native effectively compiles down to native code (Probably Objective C as opposed to Swift, but it really isn't something you need to worry about).

So React Native will "feel" like something different, but it will produce fully functional native code which will be submittable to the app store.

React Native exists for reasons just like this: You already know React, but want to write native apps. I haven't done React Native development in quite some time, but I believe you can have a pretty straightforward development flow and rarely have to interact with XCode.

If that wasn't clear, please feel free to ask a follow-up!

Collapse
 
tomsacodingnewbie profile image
Tom R Author

Whenever Iโ€™ve Played around in Xcode Iโ€™ve noticed that even on my M1 machine it seems to crash a lot - sounds like react native might help me avoid learning another Ide whilst I play around with new languages and apps! Thanks again

Collapse
 
tomsacodingnewbie profile image
Tom R Author

Thatโ€™s a really clear reply thank you! I feel like youโ€™ve answered about ten questions in one that I didnโ€™t realise were going to be my next thoughts ๐Ÿ˜‚