{"action":"closed","issue":{"url":"https://api.github.com/repos/TheIronYard--Orlando/iOS--2015--SPRING/issues/14","labels_url":"https://api.github.com/repos/TheIronYard--Orlando/iOS--2015--SPRING/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/TheIronYard--Orlando/iOS--2015--SPRING/issues/14/comments","events_url":"https://api.github.com/repos/TheIronYard--Orlando/iOS--2015--SPRING/issues/14/events","html_url":"https://github.com/TheIronYard--Orlando/iOS--2015--SPRING/issues/14","id":58678296,"number":14,"title":"02 -- NOC List -- Richard Herndon","user":{"login":"rherndon47","id":10816277,"avatar_url":"https://avatars.githubusercontent.com/u/10816277?v=3","gravatar_id":"","url":"https://api.github.com/users/rherndon47","html_url":"https://github.com/rherndon47","followers_url":"https://api.github.com/users/rherndon47/followers","following_url":"https://api.github.com/users/rherndon47/following{/other_user}","gists_url":"https://api.github.com/users/rherndon47/gists{/gist_id}","starred_url":"https://api.github.com/users/rherndon47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rherndon47/subscriptions","organizations_url":"https://api.github.com/users/rherndon47/orgs","repos_url":"https://api.github.com/users/rherndon47/repos","events_url":"https://api.github.com/users/rherndon47/events{/privacy}","received_events_url":"https://api.github.com/users/rherndon47/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-24T01:06:39Z","updated_at":"2015-02-26T21:23:30Z","closed_at":"2015-02-26T21:23:30Z","body":"### Steps to Success\r\n\r\n#### Storyboard Tasks\r\n\r\n* [x] The master view should be embedded in a navigation controller\r\n* [x] The table view cell prototype should display two labels. One on the left of the cell and one on the right.\r\n* [x] The table view cell prototype should have a disclosure indicator\r\n* [x] The table view cell prototype should have its reuse indentifier set (hint: this should match the identifier set in \"cellForRowAtIndexPath\")\r\n* [x] The table view prototype cell should segue to the detail view. This should \"show\" the detail view.\r\n\r\n* [x] The detail view should have a custom class name of \"DetailViewController\". See the identity inspector in Interface Builder.\r\n* [x] The detail view should have 3 labels\r\n\t* [x] A label in the upper left corner that displays the agent's cover name\r\n\t* [x] A label 10 pts below the cover name label that displays the agent's real name\r\n\t* [x] A label centered horizontally and vertically in the view that displays the agent's access level. It should say \"Level #\".\r\n\t* [x] These labels should be connected to their appropriate properties in the DetailViewController class.\r\n\r\n#### Code Tasks\r\n\r\n* [x] 1 and 2. Extract the appropriate values from the agent dictionary and set the associated Agent object values\r\n* [x] 3. Set the title of the master view\r\n* [x] 4. Initialize the agents NSMutableArray\r\n* [x] 5. Call loadNocList method\r\n* [x] 6. Create a for-in loop to iterate over the agent dictionaries and create Agent objects out of them\r\n* [x] 7. Call a method to reload the data for the tableview\r\n* [x] 8. Set the segue identifier to match the value used in the storyboard \r\n* [x] 9. Get the index path value for the selected cell\r\n* [x] 10. Replace the \"0\" in the brackets with the row value of the index path object\r\n* [x] 11. Use the provided call to the segue object for the destinationViewController to send the Agent object to the detail view controller\r\n* [x] 12. Set the number of rows per section for our tableview (we only have 1 section)\r\n* [x] 13. Add the appropriate cell identifier in the dequeue method call\r\n* [x] 14. Get a handle to the appropriate Agent object from the agents array\r\n* [x] 15. Set the two cell labels to their appropriate values from the Agent object (the cover name and the real name)\r\n* [x] 16. Send something to the object calling this method. What is this method supposed to return?\r\n* [x] 17. Connect this property to its associated storyboard object\r\n* [x] 18. Create two additional properties for the other storyboard objects and connect them as well\r\n* [x] 19. Extract the agent's last name from the cover name property\r\n* [x] 20. Set the title of this view to \"Agent #\", where # is the agent's last name\r\n* [x] 21. Set the three labels to their appropriate values from the Agent object\r\n* [x] 22. Call the configureView method"}}