IBActions & IBOutlets

Discussion in 'Mac Programming' started by larswik, Jun 26, 2011.

  1. macrumors 68000

    Joined:
    Sep 8, 2006
    #1
    If I build an interface in Interface Builder that has 2 different parts. Using something like Chown33 example of Cards and Dice. Should I create 2 different appController Classes one for the Dice, and one for the Cards? Or is it better coding to just have 1 appControler to handle all of the IBActions and IBOutlets?

    Thanks,

    -Lars
     
  2. macrumors 6502a

    Joined:
    Jan 23, 2010
    Location:
    San Diego, CA USA
    #2
    I would do just one controller most likely. Unless there was some other architectural reason in the program to separate them.
     
  3. thread starter macrumors 68000

    Joined:
    Sep 8, 2006
    #3
    Cool, Thanks.

    -Lars
     

Share This Page