{"action":"created","issue":{"url":"https://api.github.com/repos/TheIronYard--Orlando/2015--SUMMER--iOS/issues/24","labels_url":"https://api.github.com/repos/TheIronYard--Orlando/2015--SUMMER--iOS/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/TheIronYard--Orlando/2015--SUMMER--iOS/issues/24/comments","events_url":"https://api.github.com/repos/TheIronYard--Orlando/2015--SUMMER--iOS/issues/24/events","html_url":"https://github.com/TheIronYard--Orlando/2015--SUMMER--iOS/issues/24","id":89379777,"number":24,"title":"04--OutaTime-Ian Kunneke","user":{"login":"iankunneke","id":12818997,"avatar_url":"https://avatars.githubusercontent.com/u/12818997?v=3","gravatar_id":"","url":"https://api.github.com/users/iankunneke","html_url":"https://github.com/iankunneke","followers_url":"https://api.github.com/users/iankunneke/followers","following_url":"https://api.github.com/users/iankunneke/following{/other_user}","gists_url":"https://api.github.com/users/iankunneke/gists{/gist_id}","starred_url":"https://api.github.com/users/iankunneke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iankunneke/subscriptions","organizations_url":"https://api.github.com/users/iankunneke/orgs","repos_url":"https://api.github.com/users/iankunneke/repos","events_url":"https://api.github.com/users/iankunneke/events{/privacy}","received_events_url":"https://api.github.com/users/iankunneke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-18T19:40:27Z","updated_at":"2015-06-18T19:51:02Z","closed_at":null,"body":"#### Storyboard Tasks\r\n\r\n* [ ] The time circuits view should be embedded in a navigation controller\r\n* [ ] All label groups should be centered horizontally and 20 points apart. The actual readout labels should also use the custom font \"digital-7\".\r\n    * [ ] Below the labels for the destination time, there should be a set of labels for \"present time\"\r\n        * [ ] Choose a lime green/yellow color for this label\r\n    * [ ] Below the present time labels, there should be a set for \"last time departed\"\r\n        * [ ] Choose an orange color for this label\r\n* [ ] Also centered horizontally and 20 pts below the time labels, there should be a \"CURRENT SPEED\" label group. The second label that displays the speed should read \"0 MPH\"\r\n    * [ ] The actual speed label should be red in color\r\n* [ ] All relevant labels need to be wired to their associated properties\r\n\r\n* [ ] Below all the labels, there should be 2 buttons, also centered horizontally and spaced 20 pts apart from both the other labels and each other\r\n    * [ ] These buttons should be named \"SET DESTINATION TIME\" and \"TRAVEL BACK\"\r\n    * [ ] The buttons should both be teal in color\r\n    * [ ] These buttons should be wired to their appropriate IBActions or segues\r\n        * [ ] The segue for SET DESTINATION TIME should have an identifier of \"ShowDestinationDatePickerSegue\"\r\n\r\n* [ ] The the date picker view contains a date picker. This UI object should be centered both horizontally and vertically in the view. Its leading and trailing space should also hug the left and right edges of its superview.\r\n* [ ] The the date picker view should be have a custom class of \"DatePickerViewController\"\r\n* [ ] The date picker should be wired up to its associated property\r\n\r\n#### Code Tasks\r\n\r\n* [ ] 1. Add variables.\r\n* [ ] 2. Set the title.\r\n* [ ] 3. Initialize the date formatter.\r\n* [ ] 4. Set the date formatter's date format.\r\n* [ ] 5. Set the presentTimeLabel to the current date using the date formatter.\r\n* [ ] 6. Set the current speed variable to 0.\r\n* [ ] 7. Set the speed label to \"% MPH\", with % being the current speed.\r\n* [ ] 8. Set the lastTimeDeparted label.\r\n* [ ] 9. Set the TimeCircuitsViewController class as implementing the delegate for the date picker.\r\n* [ ] 10. Set the DatePickerViewController object's delegate as the TimeCircuitsViewController object.\r\n* [ ] 11. Call the delegate method to inform the delegate of the new date chosen by the user.\r\n* [ ] 12. Set the destinationTimeLabel with the date received from the picker view controller using the date formatter object.\r\n* [ ] 13. Call the method to start the timer.\r\n* [ ] 14. Check to see if the timer object is nil. There is a shorthand for that.\r\n* [ ] 15. Instantiate the timer object for a 0.1 sec time interval. Set it to fire the method that updates the speed label.\r\n* [ ] 16. Stop the timer and set it to nil.\r\n* [ ] 17. Check if the current speed variable has reached 88. We want to execute the block inside the if if we HAVEN'T reached 88.\r\n* [ ] 18. Increment the current speed variable by 1.\r\n* [ ] 19. Update the speed label with the current speed.\r\n* [ ] 20. Since the speed has reached at least 88, stop the timer.\r\n* [ ] 21. Update the value of the lastTimeDepartedLabel with the value from the presentTimeLabel.\r\n* [ ] 22. Update the value of the presentTimeLabel with the value from the destinationTimeLabel.\r\n* [ ] 23. Reset the value of the current speed variable to 0.\r\n"},"comment":{"url":"https://api.github.com/repos/TheIronYard--Orlando/2015--SUMMER--iOS/issues/comments/113270529","html_url":"https://github.com/TheIronYard--Orlando/2015--SUMMER--iOS/issues/24#issuecomment-113270529","issue_url":"https://api.github.com/repos/TheIronYard--Orlando/2015--SUMMER--iOS/issues/24","id":113270529,"user":{"login":"iankunneke","id":12818997,"avatar_url":"https://avatars.githubusercontent.com/u/12818997?v=3","gravatar_id":"","url":"https://api.github.com/users/iankunneke","html_url":"https://github.com/iankunneke","followers_url":"https://api.github.com/users/iankunneke/followers","following_url":"https://api.github.com/users/iankunneke/following{/other_user}","gists_url":"https://api.github.com/users/iankunneke/gists{/gist_id}","starred_url":"https://api.github.com/users/iankunneke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iankunneke/subscriptions","organizations_url":"https://api.github.com/users/iankunneke/orgs","repos_url":"https://api.github.com/users/iankunneke/repos","events_url":"https://api.github.com/users/iankunneke/events{/privacy}","received_events_url":"https://api.github.com/users/iankunneke/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T19:51:02Z","updated_at":"2015-06-18T19:51:02Z","body":"https://github.com/iankunneke/TIY-Assignmnts/pull/1"}}