diff --git a/langs/ios/ios.go b/langs/ios/ios.go index ffb395c..6697681 100644 --- a/langs/ios/ios.go +++ b/langs/ios/ios.go @@ -334,7 +334,7 @@ extension {{.Name | toCamel}}: CustomDebugStringConvertible { {{- else}} // TODO: Add documentation to {{.Name}} in firemodel schema. {{- end}} -class {{.Name | toCamel }}: Pring.Object { +@objcMembers class {{.Name | toCamel }}: Pring.Object { {{- range .Fields}} {{- if .Comment}} // {{.Comment}} diff --git a/testfixtures/firemodel/TestFiremodelFromSchema/swift/Firemodel.swift b/testfixtures/firemodel/TestFiremodelFromSchema/swift/Firemodel.swift index 91912f8..47c4251 100644 --- a/testfixtures/firemodel/TestFiremodelFromSchema/swift/Firemodel.swift +++ b/testfixtures/firemodel/TestFiremodelFromSchema/swift/Firemodel.swift @@ -51,7 +51,7 @@ extension TestDirection: CustomDebugStringConvertible { } // TODO: Add documentation to TestStruct in firemodel schema. -class TestStruct: Pring.Object { +@objcMembers class TestStruct: Pring.Object { // TODO: Add documentation to where in firemodel schema. var where: String? // TODO: Add documentation to how_much in firemodel schema.