I'm having the same problem. Did you found the reason why you get the error?

On Wednesday, September 24, 2014 3:57:05 AM UTC+2, Julian Paas wrote:
>
> I'm doing this in my bridging header which includes all of the CBL 
> headers. But to be sure I did actually try explicitly adding CBLDocument.h 
> but it didn't help.
> #import <CouchbaseLite/CouchbaseLite.h> 
>
>
>
> On Sunday, September 21, 2014 7:18:45 AM UTC-4, Robbie Bubble wrote:
>>
>> Did you included CBLDocument.h in your bridging header?
>>
>> Am Montag, 15. September 2014 22:37:37 UTC+2 schrieb Julian Paas:
>>>
>>> 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/7684c934-a752-4244-8c4e-e92bceea88d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to