Hello,
I’m using the following code for adding related user property named goal
+ (void)addUserGoal:(Goal *)goal {
[[DataService sharedInstance].currentUser.goals addObject:goal];
[[backendless.persistenceService of:[BackendlessUser class]] save:[DataService sharedInstance].currentUser response:^(id response) {
[DataService fillGoalsCollections];
[[NSNotificationCenter defaultCenter] postNotificationName:@"GoalAdded" object:nil];
} error:^(Fault *fault) {
NSLog(@"%@", fault.detail);
}];
}
it responds with success, and perfectly adds all the fields I need, except for a certain “description” field
this is when i had a description property to my local Goal model in iOS with @synthesize in implementation class, as I couldn’t use NSObject’s default description property because otherwise xcode wouldn’t build and report that it is a readonly property
i’m literally stuck on this and the app crashes because all retrieved description properties for the goals I submitted through the iOS app are read as NSNull’s now, so kindly a little help on this
appid = 310FB739-738B-ABD0-FF01-83B62265E300