I have two viewcontrollers
. vc1
is a form that holds the user's input values.vc2
is a canvas. I have a button in vc1
that shows vc2
. How do I preserve the values in vc1
so when the user closes vc2
, vc1
has the values previously inputted?
I know NSUserDefaults
, but it would require more work. I'm just wondering if I show vc2
as modal via segue, is it possible to preserve the values of vc1
?
Thanks!