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, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.