Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 1, 2011, 08:50 PM   #1
Blakeasd
macrumors 6502a
 
Join Date: Dec 2009
BGHUDAppKit

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
Blakeasd is offline   0 Reply With Quote
Old Apr 2, 2011, 12:20 AM   #2
jiminaus
macrumors 65816
 
Join Date: Dec 2010
Location: Sydney
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.
jiminaus is offline   0 Reply With Quote
Old Apr 2, 2011, 10:16 AM   #3
Blakeasd
Thread Starter
macrumors 6502a
 
Join Date: Dec 2009
It works
Thanks
Blakeasd is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

All times are GMT -5. The time now is 01:39 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC