Modern syntax can be used
Reports old-style code: collection literals, collection accessor usages, and the NSNumber
literals.
Example:
NSString *myString = [myArray objectAtIndex:1];
After the quick-fix is applied:
NSString *myString = myArray[1];
Inspection Details | |
---|---|
Available in: | AppCode 2023.3 |
Plugin: | AppCode, 2023.3 |
Last modified: 13 July 2023