123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface RLMObjectId : NSObject
- + (nonnull instancetype)objectId NS_SWIFT_NAME(generate());
- - (instancetype)init;
- - (nullable instancetype)initWithString:(NSString *)string
- error:(NSError **)error;
- - (instancetype)initWithTimestamp:(NSDate *)timestamp
- machineIdentifier:(int)machineIdentifier
- processIdentifier:(int)processIdentifier;
- - (BOOL)isGreaterThan:(nullable RLMObjectId *)objectId;
- - (BOOL)isGreaterThanOrEqualTo:(nullable RLMObjectId *)objectId;
- - (BOOL)isLessThan:(nullable RLMObjectId *)objectId;
- - (BOOL)isLessThanOrEqualTo:(nullable RLMObjectId *)objectId;
- @property (nonatomic, readonly) NSString *stringValue;
- @property (nonatomic, readonly) NSDate *timestamp;
- @end
- NS_ASSUME_NONNULL_END
|