Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is core data auto-saving #480

Closed
holysin opened this issue May 13, 2013 · 2 comments
Closed

is core data auto-saving #480

holysin opened this issue May 13, 2013 · 2 comments

Comments

@holysin
Copy link

holysin commented May 13, 2013

hi,buddy, I create entity with creatEntity method, but I do not save the data, so I do not execute the save method. And when I push the viewcontroller and then back, the entity will autosaved. so I suspect that the createEntity method is autosaving?

@blackgold9
Copy link
Contributor

MR Does not save in create entity. What could be happening is that your new view controller is doing a save there. The default context is shared across view controllers, so a save in one VC would cause an object created in the first VC to be saved as well.

@casademora
Copy link
Member

First, you can take a look at the MR_createEntity method and see that it does not, in fact, perform any save whatsoever. Second, unless this is not a bug. Please ask questions on stackoverflow.com and tag them with [MagicalRecord].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants