aantthony / mongo-objectid-objc

Generate unique MongoDB ObjectIDs in iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mongo-objectid-objc

Generate unique MongoDB ObjectIDs in iOS.

Usage:

// Create a new unique id:
ObjectID _id = [MongoID id];
NSString *str = [MongoID stringWithId: _id];
NSLog(@"ID: %@", str);


// And get it back again:
ObjectId = [MongoID idWithString: str];

About

Generate unique MongoDB ObjectIDs in iOS.

License:MIT License


Languages

Language:Objective-C 100.0%