Xcode iOS
Budget: $10 – $30 USD
Create a project called ContractorCalculator.
▪ The view controller layout should contain two TextFields, one button, and eight labels
Figure 10.27 ContractorCalculator interface
▪ The Calculate button should add the labor and material costs from the TextFields and put the result in the label next to SubTotal. Tax should be calculated using a 5% rate (use a constant) and displayed on the label next to Tax. The tax and subtotal should be added together and displayed on the label next to Total.
▪ The view controller layout should contain two TextFields, one button, and eight labels
Figure 10.27 ContractorCalculator interface
▪ The Calculate button should add the labor and material costs from the TextFields and put the result in the label next to SubTotal. Tax should be calculated using a 5% rate (use a constant) and displayed on the label next to Tax. The tax and subtotal should be added together and displayed on the label next to Total.