Skip to content

An iOS app of a non scientific calculator using Swift and SwiftUI framework + UnitTests

Notifications You must be signed in to change notification settings

ngalinos95/iOS-Calculator

Repository files navigation

Calculator

This is a SwiftUI project.The main goal of the project is to create a simple calculator based on the UI/UX guidelines of iOS Dev in order to showcase my skills in app development.

The project is a simple non scientific calculator for calculations of (+,-,/,*,%)

Topics Covered

  • Algorithmic logic (correct way of calcualting and displayin the result)
  • Data model - Observable Object
  • Local Variables -State Objects
  • Text Modifications
  • Button UI
  • VStack,HStack,ZStack interface (with ViewScroller)
  • SPM
  • Unit Tests(Logic + Snapshot testing)

Features

  • Calculation of (+,-,/,*,%)
  • Protection over non applicable division (division with zero)
  • Protection over non applicable actions (double symbols)
  • Positive and negative numbers
  • Scrollable view of the result (full decimals result)

Authors

Demo

About

An iOS app of a non scientific calculator using Swift and SwiftUI framework + UnitTests

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages