BGHUDAppKit

Discussion in 'Mac Programming' started by Blakeasd, Apr 1, 2011.

  1. macrumors 6502a

    Joined:
    Dec 29, 2009
    #1
    As you know Xcode 4 does not support IB plugins. My question is how do I use the BGHUDAppKit without using an IB plugin? Thanks
     
  2. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #2
    You can manually change the class of the cells in IB.

    For example, to put a button on a HUD window

    1. Drag a normal push button from the object library
    2. Click, pause, click the button to select the button cell inside the button control
    3. In the identity inspect, change the class the BGHUDButtonCell.

    It will still look like a regular push button in IB but when you run the app you will get the look provided by BGHUDAppKit.

    You also won't be able set any extra properties in IB beyond those provided by Cocoa. You'll need to set those in code.
     
  3. thread starter macrumors 6502a

    Joined:
    Dec 29, 2009

Share This Page