Reputation: 1804
I know that can generate a UUID with NSUUID:
NSString *uuid = [[NSUUID UUID] UUIDString];
But this is 128-bit values.
I want to get a 32-bit UUID how to do that?
Upvotes: 1
Views: 5813
Reputation: 1488
A UUID by definition is 128-bit.
A UUID is a 16-octet (128-bit) number.
I believe you can make a 32-bit Unique identifier but it is advised against. If you really need to make a 32 bit Unique identifier here is a pseudo code tutorial that might help.
Upvotes: 3