Files
leanote-ios/Leanote/util/MongoID.h
2015-08-21 23:49:41 +08:00

12 lines
226 B
Objective-C
Executable File

#import <Foundation/Foundation.h>
typedef struct {
UInt32 m[3];
} ObjectID;
@interface MongoID : NSObject
+ (ObjectID) id;
+ (NSString *) stringWithId: (ObjectID) _id;
+ (ObjectID) idWithString:(NSString *) string;
@end