I've been using Swift with Couchbase Lite for a year now and I've recently 
upgraded my app to Xcode 7 and Swift 2.0. Its working fine, although the 
Couchbase Swift docs have not been updated to 2.0 yet.

On Tuesday, September 15, 2015 at 6:30:32 PM UTC-4, adam wilson wrote:
>
> Has there been any progress on this? I'm in the process of building an iOS 
> CBLite app with Swift and hit this issue with CBLModel and @dynamic 
> properties... 
> Or do the model classes still need to be Objective-C?
>
> On Tuesday, 4 November 2014 05:48:43 UTC, Jens Alfke wrote:
>>
>> Thanks for the test case, Julian. You may be in *terra incognita* here — 
>> I haven't had a chance to get too far into Swift coding yet and haven't 
>> looked into how it interacts with CBLModel. I think my colleague Pasin is 
>> starting to investigate (he's the one who added the Swift code samples to 
>> the documentation recently.)
>>
>> If you're building CBL from source and can step through its code, the 
>> next step is probably to set a breakpoint in 
>> +[CBLModel impForGetterOfProperty:ofClass:]. This will get called once for 
>> every dynamic property, so when it's called for itemArray you can step 
>> through it and see what goes wrong.
>>
>> —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/aa28ef66-3c69-4dc2-b21e-e19988280e88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to