I looked at autoboxing in Objective-C ( here , for example). Is there any new syntax to unpack?
For example, I want to do this, but in short:
NSArray *oneNumber = @[@1]; int one = ((NSNumber *)oneNumber[0]).intValue;
the second line syntax is terrible. Is there any new language feature to solve this problem?
source share