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/a4798439-d5bd-41fb-9404-dce6b1000253%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.