Advertise here

Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Translating this line from Obj-C to Swift

markhardymarkhardy Los AngelesPosts: 7New Users Noob
Hi there,

I'm working on a CoreBluetooth project and have come up learning Swift - yet Apple's guide for CoreBluetooth only refers to Objective-C. I'm struggling translating this one important bit of code if anyone can lend a helping hand:

myCentralManager =
[[CBCentralManager alloc] initWithDelegate:self queue:nil
options:@{ CBCentralManagerOptionRestoreIdentifierKey:
@myCentralManagerIdentifier }];



Sign In or Register to comment.