From 631585aa89b2e613ef4a084b9f976ad4d93850e4 Mon Sep 17 00:00:00 2001 From: Mickey Reiss Date: Tue, 2 Oct 2018 17:10:28 -0700 Subject: [PATCH] ios: Add missing @objcMembers --- langs/ios/ios.go | 2 +- .../firemodel/TestFiremodelFromSchema/swift/Firemodel.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.