File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
SwiftJSONModeler For Xcode.xcodeproj
SwiftJSONModeler For Xcode/YApi Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 579579 "$(inherited)",
580580 "@executable_path/../Frameworks",
581581 );
582- MARKETING_VERSION = 1.3.1 ;
582+ MARKETING_VERSION = 1.4.0 ;
583583 PRODUCT_BUNDLE_IDENTIFIER = com.lifu.SwiftJSONModeler;
584584 PRODUCT_NAME = "$(TARGET_NAME)";
585585 SWIFT_VERSION = 5.0;
601601 "$(inherited)",
602602 "@executable_path/../Frameworks",
603603 );
604- MARKETING_VERSION = 1.3.1 ;
604+ MARKETING_VERSION = 1.4.0 ;
605605 PRODUCT_BUNDLE_IDENTIFIER = com.lifu.SwiftJSONModeler;
606606 PRODUCT_NAME = "$(TARGET_NAME)";
607607 SWIFT_VERSION = 5.0;
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ class YApiCreator {
118118 comment = " /// \( objectDes) \( isShowMock && !object. mock. isEmpty ? " \t Mock: \( object. mock) " : " " ) "
119119 }
120120 if swiftType == " <#Undefined#> " {
121- swiftType = object. typeRaw
121+ swiftType = " <# \( object. typeRaw) #> "
122122 }
123123 var line = " var \( object. key!) : \( swiftType) "
124124 let isOptional = !config. isNotOptional
@@ -168,7 +168,7 @@ class YApiCreator {
168168 }
169169 let lines = yapiLines. map { " \t \( $0) " }
170170 objctLines. append ( contentsOf: lines)
171- if ( commandIdentifier == classFromRAWCommand && commandIdentifier == classFromYApiIdCommand ) , parent. contains ( " HandyJSON " ) {
171+ if keyword == keyClass , parent. contains ( " HandyJSON " ) {
172172 objctLines. append ( " " )
173173 objctLines. append ( " \t required init() { } " )
174174 }
You can’t perform that action at this time.
0 commit comments