Question
Create an app that calculates bowling scores. This will be done in Xcode using swift. These are the specific requirements for the Bowling Scores app:
Create an app that calculates bowling scores. This will be done in Xcode using swift. These are the specific requirements for the Bowling Scores app:
Allow for up to three bowling scores.
Calculate series(sum), average and high game as labels on the right, using integer arithmetic only.
Create a Calculate button between the 3 top fields and the bottom fields, centered horizontally, text is center-aligned and button is stretched.
Calculate totals only when the Calculate button is pressed
Do not include a game in the calculations if its score is zero
Modify each input field to use a numeric keyboard
When the Calculate button is pressed, dismiss the keyboard (it will be automatically presented when you tap in an input field). Place these three lines of code near the top of your calculate() method to dismiss the keyboard:
self.game1.resignFirstResponder()
self.game2.resignFirstResponder()
self.game3.resignFirstResponder()
Support auto-rotate as illustrated earlier, so that the fields remain aligned and spaced evenly.
Left align all of the text in labels on the left hand side
Right align all of the text in labels and fields on the right hand side
All labels and text fields should appear exactly as specified on the Storyboard within the Stack Views as properly configured.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started