I am not sure about this, but does setting a core data object to nil, deletes it from Core Data. For Example:
MyObject *obj = [MyObject fetchFromCoreDataWithID:objectID];
obj = nil;
Does this deletes that object from Core Data ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. The object is only a representation of what is in your CoreData store. If you want to delete the object you must do this: