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 ') %> }