add class as a keyword in objc generator

This commit is contained in:
wing328 2018-04-02 16:36:01 +08:00
parent 904cdc0d5b
commit 5d1874028b

View File

@ -146,7 +146,7 @@ public class ObjcClientCodegen extends DefaultCodegen implements CodegenConfig {
"NSObject", "NSInteger", "NSNumber", "CGFloat", "NSObject", "NSInteger", "NSNumber", "CGFloat",
"property", "nonatomic", "retain", "strong", "property", "nonatomic", "retain", "strong",
"weak", "unsafe_unretained", "readwrite", "readonly", "weak", "unsafe_unretained", "readwrite", "readonly",
"description" "description", "class"
)); ));
importMapping = new HashMap<String, String>(); importMapping = new HashMap<String, String>();