You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
Hate to really be picky but on line 98 of Localise.swift it's if let indexOfBase = availableLanguages.index(of: "Base") , excludeBase == true {
But on master it is if let indexOfBase = availableLanguages.firstIndex(of: "Base") , excludeBase == true {
index has been depreciated and has been replaced by firstIndex.
It's not really an issue as such but just wanted to mention just in case if there were any other discrepancies between the versions
This library is pretty awesome though and has saved me a massive amount of work getting the Welsh Langauge supported in one of my apps (customer requirement)
Thanks
Osian
The text was updated successfully, but these errors were encountered:
Hey,
Hate to really be picky but on line 98 of Localise.swift it's
if let indexOfBase = availableLanguages.index(of: "Base") , excludeBase == true {
But on master it is
if let indexOfBase = availableLanguages.firstIndex(of: "Base") , excludeBase == true {
index has been depreciated and has been replaced by firstIndex.
It's not really an issue as such but just wanted to mention just in case if there were any other discrepancies between the versions
This library is pretty awesome though and has saved me a massive amount of work getting the Welsh Langauge supported in one of my apps (customer requirement)
Thanks
Osian
The text was updated successfully, but these errors were encountered: