问题描述:

I have 3 similar classes on Parse where I want to save all the data onto 1 object in iOS. Example of my database:

Class: Cycling

objectID (string)

calories (double)

User (pointer:User)

Class: Swimming

objectID (string)

calories (double)

User (pointer:User)

Class: Steps

objectID (string)

calories (double)

User (pointer:User)

I want to save the data from the 3 classes if the objectID is the same. How can I accomplish this? It would've been easier if these 3 classes were just 1 but the previous developer designed it with 3 tables.

相关阅读:
Top