Reputation: 9813
I have a model called calculatorModel. Once the entry has been saved from this model, I want to basically reset all the variables in it to either blank, 0, etc... so that the screen will clear up. What is the best way to do this?
Thanks
Upvotes: 1
Views: 1385
Reputation: 66234
You can either reset them each individually, or you can deallocate your entire calculatorModel
and create a new one.
Upvotes: 4