StringUtils
public enum StringUtils
A collection of utility functions for working with strings.
-
Returns
trueif the string is empty or contains only whitespace characters.Declaration
Swift
public static func isBlank(_ string: String) -> Bool -
Generates a lowercase UUID string for cross-platform consistency.
Java’s
UUID.toString()returns lowercase by default, so this method ensures the Swift SDK generates consistent UUID formats across platforms.Declaration
Swift
public static func generateUUID() -> StringReturn Value
A lowercase UUID string (e.g., “e621e1f8-c36c-495a-93fc-0c247a3e6e5f”).
View on GitHub