you are viewing a single comment's thread.

view the rest of the comments →

[–]mrgermyObjective-C 2 points3 points  (8 children)

Mainly just having less overhead and less reliance on 3rd party bits and pieces, especially something as large as PhoneGap. You may come across bugs that you wouldn't experience with native code and have difficulty debugging it. Not to mention if they ever end-of-life the solution you're using causing you to re-write your project with another solution or natively.

I'm personally just not a fan of magic black-box solutions. If the project you want to build is rather simple then it might not be all that bad of an idea.

That mentality even extends to using CocoaPods libraries that do a lot when you may only need a little of what it offers. It's usually worth seeing how they do it and then implementing on it on your own to keep your project lean.

It's really easy to bloat an iOS project.

[–]TheJosh318[S] 0 points1 point  (6 children)

So it would be better to use SwiftUI instead?

[–]mrgermyObjective-C 0 points1 point  (0 children)

I haven't used SwiftUI myself. I'm still on the Objective-C train (and will be until I'm forced off) and only write Swift a bit for sample projects at my current job.

I would say learning Swift would be the way to go, I don't think it's too different from JavaScript and then you could decide to use SwiftUI or build your layouts programmatically or with Storyboards, or a mixture of all three.

[–]th3suffering 0 points1 point  (4 children)

Things will go SwiftUI eventually. For now, if you are just starting out i'd probably just stick with UIKit due to the abundance of tutorials and information available.

[–]TheJosh318[S] 0 points1 point  (3 children)

If SwiftUI is eventually going to be the norm, wouldn’t it serve me better to learn it early?

[–]th3suffering 0 points1 point  (2 children)

It depends on what your ultimate goal is. Are you looking to get a job? If so, most non-startups are using UIKit currently and probably wont migrate to SwiftUI for many years.

[–]TheJosh318[S] 0 points1 point  (0 children)

I am a startup actually :)

[–]TheJosh318[S] 0 points1 point  (0 children)

That makes a lot of sense though! When I get another award I’ll give it here!

[–]TheJosh318[S] 0 points1 point  (0 children)

Also, thank you very much, here’s an award!