Closed chiarotto closed 8 years ago
After updating Xcode I get the following error during compilation: "Ambiguos use of subscript". I fix the issue modifying the code:
func prefferedLocale() -> NSLocale { let langs:[String] = NSLocale.preferredLanguages() let identifier: String = langs[0] as! String let locale = NSLocale(localeIdentifier: identifier) return locale }
fixed, thanks!
After updating Xcode I get the following error during compilation: "Ambiguos use of subscript". I fix the issue modifying the code: