App Developing

Discussion in 'iOS Programming' started by Hexiii, Jun 30, 2011.

  1. Hexiii macrumors 65816

    Hexiii

    Joined:
    Jun 30, 2011
    Location:
    Prague, Czech Republic
    #1
    I'd like to ask, if I want start learning how to develop iOS app, where should I begin? I've never programmed before. I read that most time it's developed in Objective-C code. So can I just start to learn this programming language or do I have to know any others from C language family, because I don't know if the basic "C" language is a base language and C++ and objective-C are extensions of that. Or if they are on the same level, just a "bit" different.

    Thank you for answers.
     
  2. mobilehaathi macrumors G3

    mobilehaathi

    Joined:
    Aug 19, 2008
    Location:
    The Anthropocene
    #2
    My (biased) advice is to start learning the basics of C/C++ with simple CLI programs. You could then head into ObjC, Cocoa, Xcode, etc. for GUI stuff. You could also do them concurrently, since ObjC is simply a superset of C++.
     
  3. sth macrumors 6502a

    Joined:
    Aug 9, 2006
    Location:
    The old world
    #3
    Objective-C is a superset of C, so going through a few basic C tutorials is a good way to start.
     
  4. Hexiii thread starter macrumors 65816

    Hexiii

    Joined:
    Jun 30, 2011
    Location:
    Prague, Czech Republic
    #4
    Did you mean subset? I thought that C is a superset of objective-C
     
  5. mobilehaathi macrumors G3

    mobilehaathi

    Joined:
    Aug 19, 2008
    Location:
    The Anthropocene
    #5
    No, all of C is contained in ObjC. There are parts of ObjC that are not contained in C.
     
  6. sth macrumors 6502a

    Joined:
    Aug 9, 2006
    Location:
    The old world
    #6
    Objective-C is C plus several language extensions for object oriented programming.
    Any C code will work in Objective-C but not the other way around.
     
  7. Hexiii thread starter macrumors 65816

    Hexiii

    Joined:
    Jun 30, 2011
    Location:
    Prague, Czech Republic
    #7
    Ok thank you. Btw, can I try the work made with objective-C on Windows?
     
  8. blueroom macrumors 603

    blueroom

    Joined:
    Feb 15, 2009
    Location:
    Toronto, Canada
    #8
    To develop iOS apps you really need a Mac and XCode. There is no XCode for anything but OSX.
     
  9. Hexiii thread starter macrumors 65816

    Hexiii

    Joined:
    Jun 30, 2011
    Location:
    Prague, Czech Republic
    #9
    Yeah, I know that. But I wasn't talking about the iOS apps. Just the "creation" with objective-C.
     
  10. mobilehaathi macrumors G3

    mobilehaathi

    Joined:
    Aug 19, 2008
    Location:
    The Anthropocene
    #10
    You could definitely write ObjC code on Windows and even compile and execute it, given you had a Windows ObjC compiler. You wouldn't have access to any of the Apple APIs though.
     
  11. Hexiii thread starter macrumors 65816

    Hexiii

    Joined:
    Jun 30, 2011
    Location:
    Prague, Czech Republic
    #11
    Yeah, I know that, I just wanted to know if i can just run the code.
     
  12. blueroom macrumors 603

    blueroom

    Joined:
    Feb 15, 2009
    Location:
    Toronto, Canada
  13. Hexiii thread starter macrumors 65816

    Hexiii

    Joined:
    Jun 30, 2011
    Location:
    Prague, Czech Republic
    #13
    Windows.

    Just test it or something like that.
     
  14. blueroom macrumors 603

    blueroom

    Joined:
    Feb 15, 2009
    Location:
    Toronto, Canada
  15. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #15
    If you want to run iOS apps in the Simulator, yes. But Objective-C != Cocoa Touch. There are Objective-C compilers for Windows!
     
  16. sth, Jun 30, 2011
    Last edited: Jun 30, 2011

    sth macrumors 6502a

    Joined:
    Aug 9, 2006
    Location:
    The old world
    #16
    Just to sum this up for the op:

    While Apple is the only big company backing Objective-C at the moment, the language itself is not Apple-specific. Objective-C compilers are available for most platforms.

    However, every platform (like Windows, Mac OS X, iOS) has certain things that are unique to that platform, including everything related to the user interface. So you can't build a Mac or iOS application in Windows and vice versa.

    Anyway, for a beginner I would strongly suggest looking at some basic C tutorials first. You need to know the basics before you can dive into more complex topics.
     
  17. Hexiii thread starter macrumors 65816

    Hexiii

    Joined:
    Jun 30, 2011
    Location:
    Prague, Czech Republic
    #17
    I can't find answer to this question (oh, I can, but I don't understand it though): What is the deifference between Cocoa touch and Objective-C? I found that Objective-C is just language and Cocoa touch is an application framework, but I don't understand what "application framework" mean. Yeah, I found definition on wikipedia, but I didn't get it, maybe because my English isn't that good. Could you give me some example explanation please? Thanks.
     
  18. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #18
    Learn to program first. Any "Dummies/Idiots/Beginning" book for any programming language will do. Or any school/college intro to programming class. After you understand the basics of writing some small programs, you will have a better vocabulary to know what to ask next and to understand the answers.

    Do this before you start with any iOS App development.

    Otherwise it will look and seem like you are far too lost to help.
     
  19. Hexiii thread starter macrumors 65816

    Hexiii

    Joined:
    Jun 30, 2011
    Location:
    Prague, Czech Republic
  20. sth macrumors 6502a

    Joined:
    Aug 9, 2006
    Location:
    The old world
    #20
    C is the better starting point for you.
     
  21. Hexiii thread starter macrumors 65816

    Hexiii

    Joined:
    Jun 30, 2011
    Location:
    Prague, Czech Republic

Share This Page