String

struct String
  • Localizing current string

    Declaration

    Swift

    public var localized: String { get }
  • Localizing current string from a table name file

    Declaration

    Swift

    public func localize(fromTableName tableName: String?) -> String
  • Return the first charachter

    Declaration

    Swift

    public var first: String { get }
  • Returns the last charachter

    Declaration

    Swift

    public var last: String { get }
  • get http:// to url

    Declaration

    Swift

    public var httpURLString: String { get }
  • Get phone format string: tel://+123456789

    Declaration

    Swift

    public var phoneFormat: String { get }
  • Convert CamelCase to snake_case

    Declaration

    Swift

    public func snakeCased() -> String?