Lets say I wrote an entire program in Interface Builder....

Discussion in 'Mac Programming' started by maclover001, Oct 24, 2008.

  1. maclover001 macrumors 6502a

    maclover001

    Joined:
    Mar 25, 2008
    Location:
    Vancouver, Canada
    #1
    Can I make it a .app without running it through XCode?
    If not, how do I make it an app in XCode?

    Thanks

    PS: Yes, it is a really simple app

    EDIT: It's for OS X, not iPhone.
     
  2. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
    You design the interface in Interface Builder but without you providing the glue in Xcode it would be useless.

    In order for you to use Xcode you will need to learn Objective-C. There are lots of threads in this forum on the subject. A simple search will bring up all the information you need.
     
  3. maclover001 thread starter macrumors 6502a

    maclover001

    Joined:
    Mar 25, 2008
    Location:
    Vancouver, Canada
    #3
    Okay thanks.
     
  4. toddburch macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #4
    Well, that's not entirely correct. I know C, C++, Java, Ruby and have used a little Applescript, all with Xcode, just fine. ;)
     
  5. mysterytramp macrumors 65816

    mysterytramp

    Joined:
    Jul 17, 2008
    Location:
    Maryland
  6. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #6
  7. Sayer macrumors 6502a

    Sayer

    Joined:
    Jan 4, 2002
    Location:
    Austin, TX
    #7
    Prototyping and RAD don't always need a lot of actual programming to show off an idea or get a feel for how something might work.

    I think you can actually build an .app from only Interface Builder-built bits. The project has a basic Cocoa app shell made for it, you actually customize that to add your own app bits.

    So just editing in IB and building will make a double-clickable app that merely shows the UI and not much else, maybe what the poster was looking for.
     
  8. mysterytramp macrumors 65816

    mysterytramp

    Joined:
    Jul 17, 2008
    Location:
    Maryland
    #8
    And that Adam Knight app does more than show off the UI. You can enter data, store it and retrieve. No, you can't sort it or print it or do fancy reports, but it does quite a bit for not writing a bit of code. Given the right circumstances, it could well be useful.

    mt
     

Share This Page