A clone of the built-in iOS Calculator APP for iPadOS, using SwiftUI

Overview

preview

A clone of the built-in iOS Calculator APP for iPadOS, using SwiftUI

Yes, it looks exactly the same as the iOS built-in Calculator

The UI is implemented by mimicing the iOS Calculator, by inspecting its colours and button positions. On iPad, it looks like an enlarged version of the iOS Calculator

preview preview preview

Why another duplicate of the calculator project?

Well, there are, indeed, a lot of calculator projects in GitHub and from other sources. However, here is a list of problems this repo tries to solve:

  • Not many of the repos are built with SwiftUI, Apple's new love
  • Some repos over complicates the use case of the calculator by adding too much funtions. It is just a simple calculator, as simple as iOS calculator
  • There is not yet a calculator that simply implements the function of calculate. if they do, they are either paid, or with ads, or not updated for years, or broken. This repo is designed to publish to AppStore targeting general users who just need a simple calculator

Why iPadOS does not have a built-in Calculator?

“When they were prototyping the iPad, they ported the iOS calc over, but it was just stretched to fit the screen. It was there all the way from the beginning of the prototypes and was just assumed by everyone at apple that it was going to be shipped that way. A month before the release, Steve Jobs calls Scott Forstall into his office and says to him, “where is the new design for the calculator? This looks awful.” He said, “what new design?” This is what we are shipping with. Steve said, “no, pull it we can’t ship that.” Scott fought for it to stay in, but he knew he had to get their UI team involved to design a new look for the calculator but there was no way they could do it in that short time frame, so they just scrapped it.

LUKE DORMEHL, Cult of Mac, https://www.cultofmac.com/421893/why-the-ipad-has-never-shipped-with-a-calculator-app/

Drawbacks

  • built with SwiftUI, so the backward compatibility is problematic. Currently only builds to iPadOS, and from iOS 12 downwards are not supported

Contributors

You are more than welcome to contribute!
Feel free to create an issue to discuss potential improvements, bugs, or feedbacks!
Feel free to create a PR if that's the best way to solve a problem! And then add your name to the list of contributors.

TODO

  • Add advanced calculation as the landscape mode of the iOS Calculator
  • Add App Widget
  • Add Siri support
  • Add home screen popover
  • Follow system color scheme
  • Add iPadOS cursor support
You might also like...
BodyMassIndexCalculator - A multiscreen BMI Calculator app
BodyMassIndexCalculator - A multiscreen BMI Calculator app

Body Mass Index Calculator A multiscreen BMI Calculator app Uses UISliders for w

A tip calculator for iOS (in Swift) and Android

Round & Split I needed a tip calculator, so I wrote one. I always round my tips, and when I dine out with a friend, I email them reminders that I owe

Tippy is a tip calculator application for iOS.
Tippy is a tip calculator application for iOS.

Pre-work - Tippy Tippy is a tip calculator application for iOS. Submitted by: Shoaib Huq Time spent: 5 hours spent in total User Stories The following

Tipculator is a tip calculator application for iOS.
Tipculator is a tip calculator application for iOS.

Pre-work - Tipculator Tipculator is a tip calculator application for iOS. Submitted by: Jordan Sukhnandan Time spent: Prework- 3 hours Additional fea

Free42 : An HP-42S Calculator Simulator

------------------------------------------------------------------------------- Free42 is a software clone of the Hewlett-Packard 42S calculator. If y

An experimental prototype calculator.

What is NumberPad NumberPad is an experimental prototype to explore how we write, visualize, and manipulate math equations. This post highlights some

SIP calculator calculates the future value of SIP (Systematic Investment Plan) payments.
SIP calculator calculates the future value of SIP (Systematic Investment Plan) payments.

SIP calculator calculates the future value of SIP (Systematic Investment Plan) payments. This app is available in the AppStore. Learn more here. #Desc

Splito - Nice and easy-to-use billing and tip calculator with swift
Splito - Nice and easy-to-use billing and tip calculator with swift

Splito! Nice and easy-to-use billing and tip calculator

Stock Average Down Calculator
Stock Average Down Calculator

A calculator to figure out what your new average stock price and future value will be on purchasing of a new stock. Most of the custom code can be found in ViewController.swift

Owner
Bobby Wang
Have fun. No one will end this game alive.
Bobby Wang
Calculator: an iOS application that does the job of a normal calculator

Calculator Calculator is an iOS application that does the job of a normal calculator. ✨ Application Features It is a simple iOS app built by Swift, wh

Alharbi 2 Jan 27, 2022
Basic calculator app for iOS devices using Swift3. Created for learning purpose.

iOS Calculator App Basic calculator app for iOS devices using Swift 4 and Xcode 9. Created for learning purpose. How to use Just download source code

Jogendra 15 Dec 28, 2022
A basic discount calculator app Using Swift

DiscountCalcuator This is a basic discount calculator app I created. Have you ever been out shopping and there is a really awesome sale going on? Well

Alex Diaz 1 Dec 11, 2021
CodePathPrework - The pre-work assignment for the CodePath program. Involves making a tip calculator using XCode.

Pre-work - Tip Calculator Tip Calculator is a tip calculator application for iOS. Submitted by: David Zhu Time spent: 3 hours spent in total User Stor

null 0 Jan 3, 2022
Recreation of calculator-checklist project in SwiftUI

Calculator Checklist A project created out of curiosity to test the waters of SwiftUI, Apple's new UI Framework. The caculator-checklist concept was o

T. Abbas Khan 278 Nov 17, 2022
A Windows calculator ported to macOS with SwiftUI interface.

Windows Calculator on Apple A Windows calculator ported to macOS with SwiftUI interface. Standard Programmer Build Clone the project: git clone --recu

Li-Huai (Allan) Lin 4 Dec 31, 2022
iOS calculator app made without storyboard.

Calculator app Standart iOS calculator app written without storyboard - elements placed only by using code. FUN FACT - you can download it and install

Paweł Brzozowski 1 Dec 21, 2021
Bmi calculator app (iOS)

BMI Calculator Our Goal The goal of this tutorial is to learn more about Optionals, solidify your understanding of the MVC design pattern and to intro

null 0 Jan 3, 2022
Implementation of LondonAppBrewery's BMI Calculator App

BMI Calculator ?? Our Goal The objective of this tutorial is to look at how we can customise Flutter Widgets to achieve our own beautiful user interfa

Marianne Leal 0 Dec 8, 2021
BMI-Calculator - An app which calculates the BMI and gives suggestion

BMI-Calculator An app which calculates the BMI and gives suggestion with MVC pat

null 0 Jan 19, 2022