You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
631 B
27 lines
631 B
#import <Realm/Realm.h>
|
|
|
|
@interface StringObject : RLMObject
|
|
|
|
@property NSString *stringProp;
|
|
|
|
@end
|
|
|
|
RLM_ARRAY_TYPE(StringObject);
|
|
|
|
@interface RubyMotionRealmObject : RLMObject
|
|
|
|
@property BOOL boolProp;
|
|
@property int intProp;
|
|
@property float floatProp;
|
|
@property double doubleProp;
|
|
@property NSString *stringProp;
|
|
@property NSData *binaryProp;
|
|
@property NSDate *dateProp;
|
|
@property bool cBoolProp;
|
|
@property long longProp;
|
|
@property StringObject *objectProp;
|
|
|
|
// FIXME: Support array properties in RubyMotion
|
|
// @property RLMArray<StringObject> *arrayProp;
|
|
|
|
@end
|
|
|