fix compile for Xcode 5

This commit is contained in:
matthias.ringwald@gmail.com 2013-10-29 10:43:07 +00:00
parent de1626b942
commit f74909742d
2 changed files with 4 additions and 3 deletions

View File

@ -46,12 +46,12 @@ static void bt_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t* pa
}
static BluetoothController* sharedInstance = nil;
@implementation BluetoothController
@synthesize listener;
static BluetoothController* sharedInstance = nil;
+(BluetoothController*) sharedInstance{
if (!sharedInstance) {
sharedInstance = [[self alloc] init];

View File

@ -56,12 +56,13 @@
- (BOOL)isWildcat;
@end
@interface BluetoothPSViewController : PSViewController
@interface BluetoothPSViewController : PSViewController {
BluetoothTableViewAdapter *tableViewAdapter;
BluetoothController *bluetoothController;
UIView *_wrapperView; // for < 3.2
UITableView *tableView;
BOOL initialized;
}
@end
@implementation BluetoothPSViewController