IOS, alternative to UID UID (long mostSigBits, long minimumSigBits)

I am currently creating an iOS version for an existing Android application for the client, and I need to create a parameter created in the Android version, like this:

UUID(Long.parseLong(stringA), Long.parseLong(stringB))

Both stringA and stringB are numeric strings. Is there a way to replicate java UUID () in iOS? I do not know what kind of transformations he does for strings. Any idea?

NOTE. Just to be clear. I am NOT looking for a way to get the UUID in iOS. The java function is used in the original application to create an identifier based on two given lines.

+4
source share

Source: https://habr.com/ru/post/1621552/


All Articles