Objective-C Tips & Trick - Prioregroup.com
[Objective-C] [self retain] with ARC and without warning
       
back

//
// [self retain] with ARC and without warning
//

((id(*)(id, SEL))objc_msgSend)(self, NSSelectorFromString(@"retain"));

// origin from https://twitter.com/0xced






Copyright © 1996-2018 Centro Studi Informatica di Danilo Priore. All rights reserved. P.I.10149810581.
prioregroup.com