How to add a button/menu on Xcode

Discussion in 'Mac Programming' started by julieywx, Feb 25, 2011.

  1. julieywx macrumors newbie

    Joined:
    Feb 25, 2011
    #1
    Hi guys, do someone know how to add a button/menu on Xcode?
     
  2. ulbador macrumors 68000

    ulbador

    Joined:
    Feb 11, 2010
    #2
    I guess I'm a little confused. If you want to add a button or menu to an XCode project, just double-click the .xib file in your project.

    At that point, it's pretty much drag and drop (with some extra stuff to link up the outlets and stuff)
     
  3. PatrickCocoa macrumors 6502a

    Joined:
    Dec 2, 2008
    #3
    Also confused

    If you're talking about writing an application that has a button in it, then follow ulbador's advice.

    But if you're writing an application and you don't know how to add a button (and hook it to your code), then you probably should get a book (maybe Hillgrass) and work through it.
     

Share This Page