From ceb6f2421163cfa24082d932479417b18748cfa0 Mon Sep 17 00:00:00 2001 From: Ricky Padilla Date: Fri, 23 Aug 2019 10:38:51 -0600 Subject: [PATCH] Added public access level to Swift class and enum properties --- lib/common/templates/ios-swift/class.swift.template | 2 +- lib/common/templates/ios-swift/enum.swift.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/templates/ios-swift/class.swift.template b/lib/common/templates/ios-swift/class.swift.template index 5feebe006..780792559 100644 --- a/lib/common/templates/ios-swift/class.swift.template +++ b/lib/common/templates/ios-swift/class.swift.template @@ -35,5 +35,5 @@ import UIKit public class <%= this.className %> { - <%= _.map(props, function(prop) { return 'static let ' + prop.name + ' = ' + prop.value; }).join('\n ') %> + <%= _.map(props, function(prop) { return 'public static let ' + prop.name + ' = ' + prop.value; }).join('\n ') %> } diff --git a/lib/common/templates/ios-swift/enum.swift.template b/lib/common/templates/ios-swift/enum.swift.template index 9540ef1ab..a19cce58d 100644 --- a/lib/common/templates/ios-swift/enum.swift.template +++ b/lib/common/templates/ios-swift/enum.swift.template @@ -34,5 +34,5 @@ import UIKit public enum <%= this.className %> { - <%= _.map(props, function(prop) { return 'static let ' + prop.name + ' = ' + prop.value; }).join('\n ') %> + <%= _.map(props, function(prop) { return 'public static let ' + prop.name + ' = ' + prop.value; }).join('\n ') %> }