0

I try to delete a class called "test". I found some code but nothing happens. The class are still exist.

-(void)delete{
PFObject *deleteClass = [PFObject objectWithClassName:@"test"];
[deleteClass deleteEventually];
}

Error message:

Failed to run command eventually with error: Error Domain=Parse Code=106 "(null)" UserInfo={message=Failed to run an eventually command., exception=Attempt to delete non-existent object.}

1
  • Are there any objects of this class in storage? Commented Nov 8, 2015 at 12:32

1 Answer 1

1

Edit 1: After looking through more Parse forums, I've found a definitive answer stating that you cannot do this with the Parse SDK; you must use the Parse website.

From this question on the Parse website, it looks like this should be done from your Parse dashboard. If you are constantly creating and deleting new classes and need to do this dynamically, I'm not sure you are using Parse in the way it was intended.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.