String
extension String: SettingSerializable
-
Declaration
Swift
public static func get(key: String, userDefaults: UserDefaults) -> String? -
Declaration
Swift
public static func set(key: String, value: String, userDefaults: UserDefaults) -
Obtain the width of the string if rendered in the system font
Declaration
Swift
public var systemFontWidth: CGFloat { get } -
Remove any embedded UUID value from the string.
Declaration
Swift
public func stripEmbeddedUUID() -> (stripped: String, uuid: UUID?)Return Value
named tuple with the stripped result and an option UUID value
-
Convert an object pointer into a string representation.
Declaration
Swift
public static func pointer(_ object: AnyObject?) -> StringParameters
objectvalue to convert
Return Value
string representation of the pointer
-
Undocumented
Declaration
Swift
public var versionComponents: VersionComponents { get }
View on GitHub
String Extension Reference