File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
ClassDump/Models/ParseTypes Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 77//
88
99#import " CDRecordType.h"
10+ #import " ../../Services/CDStringFormatting.h"
1011
1112@implementation CDRecordType
1213
@@ -25,12 +26,12 @@ - (CDSemanticString *)semanticStringForVariableName:(NSString *)varName {
2526 if (self.fields != nil ) {
2627 [build appendString: @" { " semanticType: CDSemanticTypeStandard];
2728
28- unsigned fieldName = 0 ;
29+ NSUInteger fieldNumber = 0 ;
2930
3031 for (CDVariableModel *variableModel in self.fields ) {
3132 NSString *variableName = variableModel.name ;
3233 if (variableName == nil ) {
33- variableName = [NSString stringWithFormat: @" x%u " , fieldName++ ];
34+ variableName = [@" x" stringByAppendingString: NSStringFromNSUInteger(fieldNumber++) ];
3435 }
3536 [build appendSemanticString: [variableModel.type semanticStringForVariableName: variableName]];
3637 [build appendString: @" ; " semanticType: CDSemanticTypeStandard];
You can’t perform that action at this time.
0 commit comments