Does anyone know how to override initWithDocument on CBLModel subclasses? I 
have tried as:

init(document: CBLDocument!) {

    super.init(document)
  }  

But it tells me "use of undeclared type CBLDocument". CBLDocument is 
definitely not unknown I use it in plenty of other swift classes. It only 
seems to be in my CBLModel subclass that it is unknown. I get the same 
result if I declare


  var x: CBLDocument?


-- 
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/00021ea5-a8b0-4c12-b0bb-222efa06543e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to