You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ...
touching 7 + would show “7 + ...” (with 7 still in the display)
7 + 9 would show “7 + ...” (9 in the display)
7 + 9 = would show “7 + 9 =” (16 in the display)
7 + 9 = √ would show “√(7 + 9) =” (4 in the display)
7 + 9 = √ + 2 = would show “√(7 + 9) + 2 =” (6 in the display)
7 + 9 √ would show “7 + √(9) ...” (3 in the display)
7 + 9 √ = would show “7 + √(9) =“ (10 in the display)
7 + 9 = + 6 = + 3 = would show “7 + 9 + 6 + 3 =” (25 in the display)
7 + 9 = √ 6 + 3 = would show “6 + 3 =” (9 in the display)
5 + 6 = 7 3 would show “5 + 6 =” (73 in the display)
4 × π = would show “4 × π =“ (12.5663706143592 in the display)
The text was updated successfully, but these errors were encountered:
petervanhoef
changed the title
Task 7
Task 7: Visualize sequence of operands and operations
Mar 25, 2017
petervanhoef
changed the title
Task 7: Visualize sequence of operands and operations
Task 7: Visualise sequence of operands and operations
Mar 25, 2017
Implement a
UILabel
in your UI which shows the sequence of operands and operations that led to (or is leading to ifresultIsPending
) what is (or “will be” ifresultIsPending
) showing in the display. If resultIsPending is true, put . . . on the end of theUILabel
, else put =. If theuserIsInTheMiddleOfTyping
, you can leave theUILabel
showing whatever was there before the user started typing the number. Examples ...The text was updated successfully, but these errors were encountered: