swiftui random string uuid code example Example: swift generate uuid let uuid = UUID().uuidString print(uuid)