Typealiases

The following typealiases are available globally.

  • String that contains expression pattern, e.g. ie:%d<5, exp:^1$.

    Declaration

    Swift

    internal typealias ExpressionPattern = String
  • Represent key-value pair of Key and Value from .strings file.

    Declaration

    Swift

    internal typealias KVDict = Dictionary<Key, Value>
  • Key

    Represents key from .strings file

    Declaration

    Swift

    internal typealias Key = String
  • Representes value from .strings file

    Declaration

    Swift

    internal typealias Value = String
  • Type that contains two dictionaries.

    base - for Base localization

    pref - for preferred language localization

    It contains KVDict instanes so every one has key and value.

    Declaration

    Swift

    internal typealias BasePrefDicts = (base: KVDict, pref: KVDict)
  • Type that represents pattern with regular expression

    Declaration

    Swift

    internal typealias RegexPattern = String
  • Defines language selected on the user’s device e.g. en, pl, ru. Language can be also Base. It used used for finding right Localizable.strings and Expression.strings and to load built-in shared expressions.

    Declaration

    Swift

    internal typealias Language = String
  • Handy typealias that can be used instead of long Swifternalization

    Declaration

    Swift

    public typealias I18n = Swifternalization