We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0f3835 commit 5826ca6Copy full SHA for 5826ca6
SKGenerateModelTool.dmg
457 Bytes
SKGenerateModelTool/SKCodeBuilder.swift
@@ -394,7 +394,7 @@ class SKCodeBuilder: NSObject {
394
if idValue.count > 12 {
395
hString.append("/** eg. \(key) */\n@property (nonatomic, copy) NSString *\(key);\n")
396
} else {
397
- hString.append("/** eg. \(idValue) */\n@property (nonatomic, assign) NSString *\(key);\n")
+ hString.append("/** eg. \(idValue) */\n@property (nonatomic, copy) NSString *\(key);\n")
398
}
399
400
@@ -453,7 +453,6 @@ class SKCodeBuilder: NSObject {
453
if (needLineBreak) {
454
mString.append("\n")
455
456
-
457
mString.append("+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper\n")
458
mString.append("{\n return @{\n")
459
for (key, obj) in self.handlePropertyMapper {
0 commit comments