Hm, the bare -init method doesn't get used on iOS so it probably hasn't been 
exercised in a while. Capture the backtrace of the exception and file a bug 
report, please.

> i would like to create my CBLModels in the view layer and persist them later 
> in the database.

IIRC, you can't do that. The bare -init method has to be followed by 
-setDatabase: before you can do anything with the model object; its property 
accessors will fail if there's no associated CBLDocument yet. As the comment 
says, the bare -init method is only supported because NSController objects 
always instantiate their owned objects with that initializer.

—Jens

-- 
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/A4BA0FA2-3E1B-43E3-8497-34DA21AFEECF%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to