Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rudifa/calculator
Another exercice from Professor Paul Hegarty's iOS app making course (2017)
https://github.com/rudifa/calculator
Last synced: 24 days ago
JSON representation
Another exercice from Professor Paul Hegarty's iOS app making course (2017)
- Host: GitHub
- URL: https://github.com/rudifa/calculator
- Owner: rudifa
- Created: 2018-07-22T17:10:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-23T15:07:57.000Z (over 6 years ago)
- Last Synced: 2024-10-06T01:41:18.533Z (about 1 month ago)
- Language: Swift
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Calculator
Ref. Stanford University course **Developing iOS 10 Apps in Swift** winter/spring 2017, taught by Paul Hegarty, **Programming Project 1: Calculator**
#### Required Tasks
✔ 1. Get the calculator working as in lectures 1 and 2✔ 2. Add entering decimal point and fractional values
◻ 3. Add more operations for a total of a dozen
✔ 4. Use color to make the UI look nice. At least, make the color of operation buttons diggerent from the numeric keyad buttons.
◻ 5. Add a Bool property `isResultPending` to the Brain class
◻ 6. Add a String property description which returns the sequence of operands and operations that led to the result or to the rewsult pending. Characters "=" or "..." should never appear in the description.
◻ 7. Add a UILabel which shows the sequence of operands and operations that led to the result or to the rewsult pending. If the resultIsPending, end in "..." else in "=".
✔ 8. Add a C button that clears everything (display, label, pending operations, e.t.c)
#### XCUITest
On branch `try_ui_test` added the XCUITest bundle and the first 4 test cases.
Added test helpers and speeded up tests.
Merged branch `try_ui_test` into `master`.