I have a class called "Groups". I want a user to be able to create a group in the app. Is there an "addRow" feature with parse so that it creates a new row in the Parse class when a method is called in the app?
As mentionned in doc:
PFObject *newGroup = [PFObject objectWithClassName:@"Groups"];
newGroup[@"propertyName"] = propertyValue;
[newGroup saveInBackgroundWithBlock:^(BOOL succeeded, NSError *error)
{
if(error)
NSLog(@"Error saving %@", error);
else
NSLog(@"Successfully added a group");
}];
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.