How to compare NSUUID

Viewed 5906

What is the best (least code, fastest, most reliable) way to compare two NSUUIDs?

Here is an example:

-(BOOL)isUUID:(NSUUID*)uuid1 equalToUUID:(NSUUID*)uuid2
{
    return ... // YES if same or NO if not same
}
4 Answers
Related