0

I have some controllers and some data in model which connected with this controller. I don't need to consider when this controllers release in ios7. (viewdidunload is Deprecated!) So when should I remove these data in the model?

Any ideas without breaking mvc?

is dealloc a good idea?

thanks~

1 Answer 1

0

The details provided are not very specific.

But if you're using Automatic Reference Counting (ARC) dealloc is the wrong way. https://developer.apple.com/library/mac/releasenotes/ObjectiveC/RN-TransitioningToARC/Introduction/Introduction.html

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.