iOS Xcode Vs Cordova

Abu Rayane

macrumors member
Original poster
Sep 23, 2014
49
0
Hello everybody,

To code iPhone / iPad applications, which one is better cordova or xcode?

Thanks in advance
 

ArtOfWarfare

macrumors G3
Nov 26, 2007
8,689
4,301
Cordova, for anyone wondering like I was, is PhoneGap. It's not something new that you've never heard of (unless you've never heard of PhoneGap, in which case it is).

I've never tried PhoneGap. It seems to mostly make subpar apps. I'm as interested in using it as I am in making a Java Swing app (which is to say I'd use it if I needed it to run on every platform known to man without needing it to actually have a good UX on any platform. I have used Java Swing before, and still use it sometimes for internal tools that will be used by tech-illiterate people who need to use the tool on numerous different platforms.)
 

Dookieman

macrumors 6502
Oct 12, 2009
390
67
Cordova: Apps written in JavaScript and HTML.
Pros: Write once, use multiple places.
Cons: Not elegant, its slow, no native animations and you don't have access to everything on the phone.

Xcode: Apps written in Objective-C and Swift.
Pros: Fast, has access to everything the phone can provide, easy to build GUI interface and Apples preferred method of writing applications.
Cons: A bit steeper learning curve and apps can only be run on iOS.

Xcode hands down is the way to go.
 

TheWatchfulOne

macrumors 6502
Jun 19, 2009
416
310
You should probably provide some reasons why you think it's better.
Yeah I was rather terse wasn't I?

You can get Xocde with the iOS SDK as a single download. Not only do get Xcode itself which is great for editing code. You get other tools like the iOS Simulator; Instruments (and other various tools) which can help you fine tune your code. And all of this with device support built in.
 

Abu Rayane

macrumors member
Original poster
Sep 23, 2014
49
0
I just bought a MacBook Pro, and I would like to code an application related to my web page, since iPhone, iPad cannot read videos and audios on the web, I would like to make an application to replace that on devices, which one you recommend to me to learn?
 

ArtOfWarfare

macrumors G3
Nov 26, 2007
8,689
4,301
I just bought a MacBook Pro, and I would like to code an application related to my web page, since iPhone, iPad cannot read videos and audios on the web, I would like to make an application to replace that on devices, which one you recommend to me to learn?
Oh, in that case, I would just change the format of the videos so that they play on iOS. I'm not sure what formats Mobile Safari can play, but I know that they definitely exist. Might be a question to bring up in the web programming / design forums, or you could probably just search the web and find out.
 

Abu Rayane

macrumors member
Original poster
Sep 23, 2014
49
0
I posted a new thread here, so I will follow the rest of the topic there.

Are there any video tutorials that can help to learn xcode, from the beginning with simple applications?
 

Dookieman

macrumors 6502
Oct 12, 2009
390
67

chrono1081

macrumors 604
Jan 26, 2008
7,673
1,821
Isla Nublar
XCode hands down.

I'm currently doing an emergency re-write of a Phonegap app at work because the thing is just flaky as hell. The guys who made it too aren't amateurs by any means, Phonegap just isnt a good way to make apps.

Not to mention it's debugging hell.
 

Abu Rayane

macrumors member
Original poster
Sep 23, 2014
49
0
XCode hands down.

I'm currently doing an emergency re-write of a Phonegap app at work because the thing is just flaky as hell. The guys who made it too aren't amateurs by any means, Phonegap just isnt a good way to make apps.

Not to mention it's debugging hell.
so you do NOT redommend cordova?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.