generateGuid

You can use the generateGuid method (in the LocalKeyGenerator class) to generate an ID when creating a new object for which you require a primary key. This generates a unique ID for the package on the local device.

+ (NSString*)generateGuid;