Gold Challenge: Pushing More View Controllers
Currently, instances of Item cannot have their dateCreated property changed. Change Item so that they can, and then add a button underneath the dateLabel in DetailViewController with the title Change Date. When this button is tapped, push another view controller instance onto the navigation stack. This view controller should have a UIDatePicker instance that modifies the dateCreated property of the selected Item.
Get iOS Programming: The Big Nerd Ranch Guide now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.