a description property isn't submitted to table [NSNULL]

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

even after i tried this solution for overriding readonly property, the description property won’t be set in backendless

Hi Ahmed,

Why don’t you create a separate custom property for your reasons? I don’t think that using a protected NSObject’s property as your custom data object’s field is a good idea.

Hello Sergey,

The iOS app I’m creating also has an android version to it, so we need to be using the same parameters in dealing with Backendless

Even if I try using another custom property, I will always have to set the description property when I try to add/modify a goal object

Now I’m trying with my team to push through the idea of changing the field’s name, but it isn’t a simple request to make at this point especially as the Web (Javascript) and Android passed this part without problems

Ahmed, you should not use ‘description’ as a property name, because NSObject class already has the method with this name.