Calculator Recognition App with Swift

CalculatorRecognition

        

This app allows the user to capture arithmetic expressions from built in camera, camera roll and filesystem/Files App. The app detect the expression in the picture and gets the first expression and compute it’s result.

Design Pattern Used

  • MVVM

Programming Approach

  • Polymorphic interface using protocol.
  • Abstraction
  • Used of Combine

Features Implemented

  1. The app has 4 flavour that can be executed during run time by the use of xcconfig
  2. The app can detect expression on image and gets the first expression.
  3. The app can solve first detected expression and calculate it’s result.
  4. The app run in multiple themes(Please see header color) based on its configuration during runtime.
  5. The app allows to pick image per app flavour based on this
    • app-red-camera-roll
    • app-red-built-in-camera
    • app-green-filesystem
    • app-green-camera-roll
  6. The app can be switch during runtime by changing the build configuration. See below:

GitHub

View Github