Q: SwiftUI use of @objc AND @objcMembers with BackEndless Here is my struggle. I'm using Backendless to retrieve data and per their documentation I need to use "@objc" prior to the class definition, "@objcMembers", and/or also "@objc(CLASS_NAME)". Here is the ONLY way my code works:
@objc(LogEvent)
@objcMembers class LogEvent: NSObject {
    var objectId: String?
    var eventType: String?
}

...but this seems wrong. However if I remove "@objc(CLASS-NAME)" or @objcMembers, or if I try to just use "@obj" without the class name then I get this error:

Could not cast value of type 'Swift.Dictionary<Swift.String, Any>'
(0x103094be0) to 'EventLog.LogEvent' (0x100ff1cd0).

The way I read the docs it SHOULD work like this:
@objc
class LogEvent: NSObject {
    var objectId: String?
    var eventType: String?
}

