mirror of
https://github.com/leanote/leanote-ios.git
synced 2026-01-27 01:20:13 +08:00
12 lines
226 B
Objective-C
Executable File
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
|