Files
Andrew Thorp a39642bdaf moved iPhone version to correct folder
also updated generateUUID logic to not call unnecessary logic
2012-05-08 11:59:47 -04:00

524 B

Unique Identifier support for iOS applications

Created by Andrew Thorp

Usage:

// To GENERATE a Unique ID
PGUniqueIdentifier.generateUUID(function(result){
  // result will be the new UUID or the UUID that is stored in this apps NSDefaults
});

// To GET the Unique ID
PGUniqueIdentifier.getUUID(function(result){
  // result will be the UUID stored in this apps NSDefaults
}, function(error){
  // If a UUID has not yet been generated, you will receive the error "ERROR".
});