if I declare the swift constant as a global constant like:
let a = \"123\"
but the a cannot be found in
Classes func don't work. The only solution I have found out is this one:
class YourController: NSObject {
@objc static let shared = YourController()
private override init() { }
@objc class func sharedInstance() -> YourController {
return YourController.shared
}
@objc let terms = "Your-String-here"
And then on Obj-c file:
[[YourController sharedInstance].terms]