1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Questions about XCode

Discussion in 'Mac Programming' started by white89gt, Feb 23, 2006.

  1. macrumors regular

    I'm new to the idea of writing programs for the Mac platform and have a few questions.

    1. Is XCode on the OSX Tiger install DVD?
    2. It XCode a lot like C/C++?

    I know these questions have probably been asked before so please forgive me...I couldn't find what I was looking for using the search.

    Thanks in advance.
  2. macrumors P6


    Yes xcode is on the dvd i think it is called developer tools. scode ia a part of that.

    Well sorta, xcode lets you compile in c++. xcoded isn't a language but more an application that lets you debug programs and such.

    If anyobe has a better explanation feel free to add
  3. macrumors 68040


    I would describe xcode as an IDE (integrated development environment) that allows you to write code for the Mac. It's kind of like MS's Visual Studio (I've haven't used either to any great extent, but that's my initial impression - correct me if I'm wrong).

    But unlike Visual Studio, it's free, and allows you to write code for C/C++, Obj-C, Java and AppleScript/Automator, in other words just about anything you need to write any kind of code for the Mac.
  4. macrumors 6502a

    Yes, XCode is part of the Developer Tools suite of programs. The installer for Developer Tools is on the OS X Tiger install DVD but is not part of the OS X installer. You need to separately run the Developer Tools installer after you have installed OS X. If you have a decent broadband connection then you may be better off downloading the current Developer Tools installer from the Apple site since Developer Tools have been updated a couple of times since Tiger was released. The current version of XCode is 2.2 and can be downloaded here.

    XCode is not a programming language. C and C++ are programming languages. Rather, XCode is an Integrated Development Environment (IDE). An IDE is an application that you use to write programs. So, you can use XCode to write programs in C and C++ or Java or Objective-C.

    The "Integrated" part of IDE just means that all of the tasks (or at least the common tasks) necessary to develop programs can be done in the IDE. Without an IDE you would need to use a stand-alone editor to write your C code and then saving the file before using a stand-alone compiler to compile the code, followed potentially by a stand-alone debugger to debug the application.

    XCode uses standard compilers and debugging tools such as gcc and gdb under the covers so it accurately conforms to well defined language standards.
  5. macrumors G5


    Just to avoid any misunderstandings: XCode comes complete with C, C++, Objective-C and Java, so once XCode is installed, you have everything you need to start writing C or C++ programs.
  6. macrumors 68000


    Xcode will also allow you to write all kinds of application that use a Graphic Interface.
  7. Moderator


    Staff Member

    2.2.1, actually. If you're still using 2.2 then you should upgrade, whether you need to or not! :p
  8. macrumors regular

    Thanks for the replys. I'm not sure what version of XCode is on my installer DVD, but I do have one of the new Intel iMac's so it should be pretty new.

    One more question, does anyone know of any good websites that offer tutorials on obj-c or java?
  9. Moderator


    Staff Member

    For ObjC try Cocoa Dev Central or the first tutorials in the Cocoa stuff (start at the bottom) at Mac Dev Center.
  10. macrumors 6502a

    On that point ... what is it with Apple making a 0.0.1 upgrade an 850 Mb download?
  11. macrumors 68000


    As well as apps that run in the command line too.
  12. Moderator


    Staff Member

    My Intel came with 2.2.1 :)
  13. Administrator/Editor


    Staff Member

    Well, it's a full update, capable of updating any older version of Xcode, including 1.x releases. They don't offer different types of updaters based on your current setup like they do for the OS.
  14. macrumors 68000


    In each update you will also find a new version of the ADC reference library, but I suppose you can download that as a standalone file... :)

Share This Page