App Research: Calculator

App Research: Calculator

This week I created a simple calculator in Xcode. The calculator’s interface was designed using Xcode ’s tools. The interface contains buttons and labels as shown below in figure 1.

Screen Shot 2017-07-25 at 12.50.47

Figure 1: Calculator’ s Interface

After the interface was designed, the operations such as addition , division and multiplication were executed using Swiftcode. In figure 2 it shows the code that was written to execute the operations.

Screen Shot 2017-07-25 at 12.50.33

Figure 2: Script written to execute the calculator ’s operations

The end result is shown in figure 3 below.


Figure 3: Calculator’ s End Result