Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task 7: Visualise sequence of operands and operations #7

Closed
petervanhoef opened this issue Mar 19, 2017 · 0 comments
Closed

Task 7: Visualise sequence of operands and operations #7

petervanhoef opened this issue Mar 19, 2017 · 0 comments
Labels

Comments

@petervanhoef
Copy link
Owner

Implement a UILabel in your UI which shows the sequence of operands and operations that led to (or is leading to if resultIsPending) what is (or “will be” if resultIsPending) showing in the display. If resultIsPending is true, put . . . on the end of the UILabel, else put =. If the userIsInTheMiddleOfTyping, you can leave the UILabel showing whatever was there before the user started typing the number. Examples ...

  1. touching 7 + would show “7 + ...” (with 7 still in the display)
  2. 7 + 9 would show “7 + ...” (9 in the display)
  3. 7 + 9 = would show “7 + 9 =” (16 in the display)
  4. 7 + 9 = √ would show “√(7 + 9) =” (4 in the display)
  5. 7 + 9 = √ + 2 = would show “√(7 + 9) + 2 =” (6 in the display)
  6. 7 + 9 √ would show “7 + √(9) ...” (3 in the display)
  7. 7 + 9 √ = would show “7 + √(9) =“ (10 in the display)
  8. 7 + 9 = + 6 = + 3 = would show “7 + 9 + 6 + 3 =” (25 in the display)
  9. 7 + 9 = √ 6 + 3 = would show “6 + 3 =” (9 in the display)
  10. 5 + 6 = 7 3 would show “5 + 6 =” (73 in the display)
  11. 4 × π = would show “4 × π =“ (12.5663706143592 in the display)
petervanhoef pushed a commit that referenced this issue Mar 25, 2017
@petervanhoef petervanhoef changed the title Task 7 Task 7: Visualize sequence of operands and operations Mar 25, 2017
@petervanhoef petervanhoef changed the title Task 7: Visualize sequence of operands and operations Task 7: Visualise sequence of operands and operations Mar 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant