{"action":"closed","issue":{"url":"https://api.github.com/repos/TheIronYard--Orlando/2015--FALL--iOS/issues/41","labels_url":"https://api.github.com/repos/TheIronYard--Orlando/2015--FALL--iOS/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/TheIronYard--Orlando/2015--FALL--iOS/issues/41/comments","events_url":"https://api.github.com/repos/TheIronYard--Orlando/2015--FALL--iOS/issues/41/events","html_url":"https://github.com/TheIronYard--Orlando/2015--FALL--iOS/issues/41","id":110266142,"number":41,"title":"03--Mission Briefing -- Elizabeth Elliott","user":{"login":"Za1006","id":14824381,"avatar_url":"https://avatars.githubusercontent.com/u/14824381?v=3","gravatar_id":"","url":"https://api.github.com/users/Za1006","html_url":"https://github.com/Za1006","followers_url":"https://api.github.com/users/Za1006/followers","following_url":"https://api.github.com/users/Za1006/following{/other_user}","gists_url":"https://api.github.com/users/Za1006/gists{/gist_id}","starred_url":"https://api.github.com/users/Za1006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Za1006/subscriptions","organizations_url":"https://api.github.com/users/Za1006/orgs","repos_url":"https://api.github.com/users/Za1006/repos","events_url":"https://api.github.com/users/Za1006/events{/privacy}","received_events_url":"https://api.github.com/users/Za1006/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TheIronYard--Orlando/2015--FALL--iOS/labels/Very%20Good","name":"Very Good","color":"159818"}],"state":"closed","locked":false,"assignee":{"login":"Za1006","id":14824381,"avatar_url":"https://avatars.githubusercontent.com/u/14824381?v=3","gravatar_id":"","url":"https://api.github.com/users/Za1006","html_url":"https://github.com/Za1006","followers_url":"https://api.github.com/users/Za1006/followers","following_url":"https://api.github.com/users/Za1006/following{/other_user}","gists_url":"https://api.github.com/users/Za1006/gists{/gist_id}","starred_url":"https://api.github.com/users/Za1006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Za1006/subscriptions","organizations_url":"https://api.github.com/users/Za1006/orgs","repos_url":"https://api.github.com/users/Za1006/repos","events_url":"https://api.github.com/users/Za1006/events{/privacy}","received_events_url":"https://api.github.com/users/Za1006/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/TheIronYard--Orlando/2015--FALL--iOS/milestones/5","html_url":"https://github.com/TheIronYard--Orlando/2015--FALL--iOS/milestones/03%20--%20Mission%20Briefing","labels_url":"https://api.github.com/repos/TheIronYard--Orlando/2015--FALL--iOS/milestones/5/labels","id":1349709,"number":5,"title":"03 -- Mission Briefing","description":"","creator":{"login":"jcgohlke","id":3697689,"avatar_url":"https://avatars.githubusercontent.com/u/3697689?v=3","gravatar_id":"","url":"https://api.github.com/users/jcgohlke","html_url":"https://github.com/jcgohlke","followers_url":"https://api.github.com/users/jcgohlke/followers","following_url":"https://api.github.com/users/jcgohlke/following{/other_user}","gists_url":"https://api.github.com/users/jcgohlke/gists{/gist_id}","starred_url":"https://api.github.com/users/jcgohlke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcgohlke/subscriptions","organizations_url":"https://api.github.com/users/jcgohlke/orgs","repos_url":"https://api.github.com/users/jcgohlke/repos","events_url":"https://api.github.com/users/jcgohlke/events{/privacy}","received_events_url":"https://api.github.com/users/jcgohlke/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":3,"state":"open","created_at":"2015-10-11T21:58:50Z","updated_at":"2015-10-13T17:58:41Z","due_on":"2015-10-08T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-10-07T16:34:21Z","updated_at":"2015-10-13T17:58:41Z","closed_at":"2015-10-13T17:58:41Z","body":"### Normal Mode\r\n#### Storyboard Tasks\r\n* [x] Add two UITextFields to the top of the view. Have them stretch to 80% of their superview's width.\r\n* [x] Add a button centered below the textfields. The title should read \"Authenticate\".\r\n* [x] Add a centered label below the button.\r\n* [x] Place a UITextView below the label. It should also stretch to 80% of its superview's width (hint: you can instead use a constraint to make it the same width as one of the textfields, which will have the same effect).\r\n* [x] Add a UIImageView and set it to the TIY logo image from your image assets. It should be centered with the rest of the elements.\r\n\r\n#### Code Changes\r\n\r\n* [x] 1. Copy the MissionBriefingViewControler.swift file into your project, and delete the ViewConroller.swift file that Xcode created for you.\r\n* [x] 2. Change the class name of the view in the storyboard to match the class you just imported.\r\n* [x] 3. The UI elements should be set to an \"empty string\" in viewDidLoad of the ViewController class.\r\n* [x] 4. The code should check to ensure BOTH the agent name and password fields are nonempty before allowing authentication.\r\n* [x] 5. The greeting label should display \"Good evening, Agent [last name]\", where the agent's last name is pulled from the textfield.\r\n* [x] 6. The mission briefing should display the information from MissionBriefing.txt (copy-paste, you don't have to read from the file). It also contains a placeholder for the agent's last name.\r\n* [ ] 7. The background color of the view should change to green on successful authentication of the agent.\r\n* [ ] 8. The background color of the view should change to red to indicate a failed login of the agent.\r\n\r\n### Hard Mode\r\n* [ ] Modify the constraints on the imageview (and possibly other views) to cause the logo to shrink when switching to landscape orientation (the current constraints cause it to float off the bottom of the viewable screen). "}}