Xcode Vs Cordova

Discussion in 'iOS Programming' started by Abu Rayane, Sep 23, 2014.

  1. Abu Rayane macrumors member

    Joined:
    Sep 23, 2014
    #1
    Hello everybody,

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

    Thanks in advance
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #3
    You should probably provide some reasons why you think it's better.
     
  3. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #4
    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.)
     
  4. Dookieman macrumors 6502

    Joined:
    Oct 12, 2009
    #5
    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.
     
  5. TheWatchfulOne macrumors 6502

    TheWatchfulOne

    Joined:
    Jun 19, 2009
    #6
    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.
     
  6. Abu Rayane thread starter macrumors member

    Joined:
    Sep 23, 2014
    #7
    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?
     
  7. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #8
    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.
     
  8. Abu Rayane thread starter macrumors member

    Joined:
    Sep 23, 2014
    #9
    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?
     
  9. Dookieman macrumors 6502

    Joined:
    Oct 12, 2009
    #10
    http://www.raywenderlich.com/
     
  10. Abu Rayane thread starter macrumors member

    Joined:
    Sep 23, 2014
  11. Dookieman macrumors 6502

    Joined:
    Oct 12, 2009
    #12
    Not all the videos are free, but there is a plethora of free written tutorials, which, I feel are much better to learn from.

    Watching someone write code isn't as elegant as reading a tutorial. Its annoying to watch a video then try and find the screen with code on it to double check what needs to be typed.

    http://www.raywenderlich.com/38557/learn-to-code-ios-apps-1-welcome-to-programming
     
  12. Abu Rayane thread starter macrumors member

    Joined:
    Sep 23, 2014
  13. chrono1081 macrumors 604

    chrono1081

    Joined:
    Jan 26, 2008
    Location:
    Isla Nublar
    #14
    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.
     
  14. Abu Rayane thread starter macrumors member

    Joined:
    Sep 23, 2014
    #15
    so you do NOT redommend cordova?
     
  15. chrono1081 macrumors 604

    chrono1081

    Joined:
    Jan 26, 2008
    Location:
    Isla Nublar
    #16
    Correct. It may work for something very simple but it has been way more of a pain than it was worth.
     

Share This Page