TranslationsLoader
Class that gets dictionary of translations and turn it into LoadedTranslations.
-
Converts dictionary into array of
LoadedTranslations.Declaration
Swift
class func loadTranslations(json: Dictionary<String, AnyObject>) -> [LoadedTranslation]Return Value
Array of
LoadedTranslationobjects from specified file. -
Analyzes passed dictionary and checks its content to match it to some translation type.
Declaration
Swift
private class func detectElementType(element: JSONDictionary) -> LoadedTranslationType?Return Value
translation type of a dictionary.
View on GitHub
TranslationsLoader Class Reference