gohypergiant / BPXLUUIDHandler

214 stars 37 forks source link

`objc_retainedObject` is depreciated in iOS 10 #16

Open burnflare opened 8 years ago

burnflare commented 8 years ago

BPXLUUIDHandler doesn't build in iOS10 anymore because objc_retainedObject is used in the codebase here and here

foghel commented 8 years ago

Hi, Just change it to uuid = (__bridge NSString )uuidStringRef; -AND- _uuid = [[NSString alloc] initWithData:(__bridge NSData \ _Nonnull)resultData encoding:NSUTF8StringEncoding];

That will fix your error. Enjoy.

pvdochtend commented 8 years ago

Can there just be an update based on the whole code? When I'm changing this part of the code he is complaining about the IF_ARC (undeclared).