Map Backendlesss entity to an object with a different name


I’m trying to use a back endless that’s already been set up, that contains a entity “Category”, however, in swift this type already exists and i can’t use it. Is there a way to map this to something else? for example “ABCCategory”.

Thank you.

Looks like i can use “ofTable” instead of passing in class type, but this returns a dictionary in the response. How can I map this to an object?

problem solved, was able to do:

Backendless.sharedInstance().persistenceService.mapTable(toClass: “Category”, type: KLCategory.self)

Hey Colin

As i can see you’ve found the solution. If you will have additional questions - do not hesitate to ask in separate topics. Closing this one.

Regards Anton