Since we have already created the .xib
file, we just
need to add the reference in to our App Delegate and then connect them to our GUI.
In Xcode, click on the file named BTSAppDelegate.h in the project navigator and add the following properties:
/* Define the GUI elements */ @property (assign) IBOutlet NSTextField *mLastUpdateTimeTextField; @property (assign) IBOutlet NSProgressIndicator *mLastUpdateTimeProgressIndicator; @property (assign) IBOutlet NSTextField *mValueToConvertTextField; @property (assign) IBOutlet NSPopUpButton *mCurrencyToConvertPopUp; @property (assign) IBOutlet NSTableView *mConvertedCurrencyTableView;
Click on the file...