String
public extension String
extension String: URLConvertible
-
Declaration
Swift
var isNotEmpty: Bool { get }
-
Declaration
Swift
func localized(_ lang: String? = "en", defaultString: String = "") -> String
-
Declaration
Swift
func localized(_ defaultString: String) -> String
-
Declaration
Swift
func getCountryCode() -> String?
-
Declaration
Swift
subscript(offset: Int) -> Character { get }
-
Declaration
Swift
var timeZoneFullName: String? { get }
-
Convert html text to a colorful attributed string
Declaration
Swift
var html2Attributed: NSAttributedString? { get }
-
Declaration
Swift
var html2PlainText: String { get }
-
Declaration
Swift
public func localizedMain(_ lang: String? = "en", defaultString: String = "") -> String
-
Declaration
Swift
public func localizedMain(_ defaultString: String) -> String