How to save UIDatePicker Date and print it back out?
I have a UIDatePicker on my ViewController, and When I click the save
button, I want it to save the date to a variable, allowing me to print the
content of the variable, which should be the date that it was set.
I have a model(Class) to save all info on my ViewController (UiTextField
text, etc...), I am just not sure how to save a date from the DatePicker
and print it out. Can anyone help me figure how to make it work?
This is my first app(Besides Hello World)
No comments:
Post a Comment