{"action":"opened","issue":{"url":"https://api.github.com/repos/TheIronYard--Orlando/2015--FALL--iOS/issues/96","labels_url":"https://api.github.com/repos/TheIronYard--Orlando/2015--FALL--iOS/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/TheIronYard--Orlando/2015--FALL--iOS/issues/96/comments","events_url":"https://api.github.com/repos/TheIronYard--Orlando/2015--FALL--iOS/issues/96/events","html_url":"https://github.com/TheIronYard--Orlando/2015--FALL--iOS/issues/96","id":111641510,"number":96,"title":"09 -- Calculator -- Jen Hamilton","user":{"login":"embryoconcepts","id":1554169,"avatar_url":"https://avatars.githubusercontent.com/u/1554169?v=3","gravatar_id":"","url":"https://api.github.com/users/embryoconcepts","html_url":"https://github.com/embryoconcepts","followers_url":"https://api.github.com/users/embryoconcepts/followers","following_url":"https://api.github.com/users/embryoconcepts/following{/other_user}","gists_url":"https://api.github.com/users/embryoconcepts/gists{/gist_id}","starred_url":"https://api.github.com/users/embryoconcepts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embryoconcepts/subscriptions","organizations_url":"https://api.github.com/users/embryoconcepts/orgs","repos_url":"https://api.github.com/users/embryoconcepts/repos","events_url":"https://api.github.com/users/embryoconcepts/events{/privacy}","received_events_url":"https://api.github.com/users/embryoconcepts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-15T15:24:35Z","updated_at":"2015-10-15T15:24:35Z","closed_at":null,"body":"Homework - Calculator\r\n\r\nCreate a single view application that shows a calculator interface. It should have buttons for numbers 0 - 9 (plus a . button so you can add floating point numbers) as well as 7 operator buttons (addition, subtraction, multiplication, division, and equals, plus/minus, percent). It should also have a button to clear out the current transaction (clear). It will need a label to display the current value of the calculator. It should operate as you would expect from a normal calculator. You can open the Apple-provided calculator app on your iOS device to get an idea of the appropriate layout.\r\n\r\n\r\n### Normal Mode\r\n\r\n#### Storyboard Tasks\r\n\r\n* [ ] Build UI with buttons for each operand and operator and include a label to display the input from the user.\r\n* [ ] Apply autolayout rules to all UI elements to make sure they are responsive and will fit within the bounds of the device's screen.\r\n* [ ] Connect all UI elements to either IBOutlets or IBActions as necessary.\r\n\r\n#### Code Tasks\r\n\r\n* [ ] Create IBActions for each operand and operator button so you can respond whenever the user taps a button.\r\n* [ ] Create a class called CalculatorBrain to hold state information about the current calculation. An object of this type will be created and destroyed as each \"calculation transaction\" is performed by the user.\r\n* [ ] As the user enters information, redirect the operands and operators to the CalculatorBrain class so when they tap the _=_ button, the brain will be ready to perform the calculation.\r\n* [ ] Perform the calculation and return an answer to the view controller for display on-screen.\r\n\r\n#### Journal, Week 1\r\n\r\n* [ ] The journal is due on Monday, so please finish up your edits and only add a link to the PR to today's issue once you have completed it. Also, have 1 other person in-class read through the entry and provide feedback to you in your PR. When they comment, it will attach their GH username so we'll be able to see who you picked.\r\n\r\n#### Kata 2\r\nDue next Wednesday, Oct 21st."}}