Calculator

It is a simple calculator application.

In this project, I learned about:

  • Class vs. structure.
  • Swift access levels.
  • Tuples.
  • Guard let vs. if let.
  • UISwipeGestureRecognizer, thanks to which by swiping right I can remove the last character from the result label.
  • UILongPressGestureRecognizer to open a UIMenuController with possible copy and paste (UIPostboard).

Screenshots