Passing a variable that can be updated
- by Rob Bonner
This seems like a simple thing, but can't get it to work.
I pass a variable into a UIViewController thourgh a standard property:
[aViewController setProposedDate:proposedWorkLog.entryDate];
which is retained by the controller, and possible changed. I have verified that in the controller, the data is modified.
But, after it is popped off the stack and I look in the calling view, the data has not been updated. Is there a way to pass this variable and have it retain the new value, or a way to pass back a response from a closing view controller?
Thanks!