I have a CBLModel with an array of objects that implement CBLJSONEncoding,
but every time I try to access the array I get
"fatal error: NSArray element failed to match the Swift Array Element type"
I have tried to implement a class method to return the class for this array
as follows, but it never gets called. Have I implemented the method
incorrectly, or is there something else I am missing?
@NSManaged var gamePlayerStats: [PlayerStats]
class func gamePlayerStatsItemClass() -> PlayerStats.Type {
return PlayerStats.self
}
--
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/4287beb5-fe13-4708-b3e4-1c16a3e315fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.