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 @implementation BluetoothController
@synthesize listener; @synthesize listener;
static BluetoothController* sharedInstance = nil;
+(BluetoothController*) sharedInstance{ +(BluetoothController*) sharedInstance{
if (!sharedInstance) { if (!sharedInstance) {
sharedInstance = [[self alloc] init]; sharedInstance = [[self alloc] init];

View File

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