So how to do this in Swift

@interface Note : CBLModel
@property (copy) NSString* text;
@property NSDate* created;
@property bool checked;    // bool not BOOL! See below for why
@end

And here's the implementation of the class:

@implementation Note
@dynamic text, created, checked; // marks these as persistent
@end


On Wednesday, October 15, 2014 9:44:44 AM UTC+2, Karel-Jan Van Haute wrote:
>
> Can someone provide me with a small example on how to implement the 
> CBLModel in swift?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/f4621d60-f03f-4fce-a7b7-00aacfa5e526%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to