Thanks a lot Jens.

That was so stupid of me.. I am using @dynamic now and running into another 
problem..

How would you handle if you have array of custom objects?

does that custom object needs to be subclass of CBLModel? reason is Tracker 
is document, TrackerType will never be saved as document.

Class1: Tracker : CBLModel
NSString trackerTitle
NSArray types // array of TrackerType
@dynamic *****


Class2: TrackerType : NSObject/CBLModel
NSString typeTitle
@dynamic *****


Scenario 1: TrackerType : CBLModel
@dynamic *****
*Error:* Invalid parameter not satisfying: _document

Scenario 2: Tracker : NSObject
*Error: *500 Internal error


Any direction/comment would be helpful.

Thanks a lot.



-- 
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/d532fc66-c11b-44e5-b2ae-c769a37c4d9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to