Golf Scorecard Help

Hello, I’m trying to make a golf scorecard, I was thinking to create a table where you can input the score per hole, and then the app will calculate the net score, gross score, etc. (easy math operations with the values that the user provides); but I’m not sure if the table is the best solution, I’m having problems designing the app, how can I set up the user interface (create a table to ask for data) and then save those values to make some maths.

If anybody can help with some tips to start, it will be great.

Greetings.

Perhaps you should consider using a widget.newTableView() and insert 18 rows. In each row, Add some text:

Hole: 1  Par 4   420 yards

Hole: 2  Par 3   350 yards

etc.

And in each row also add a widget.newStepper() (+/-) control. This might be the fastest way to enter the score. Initialize the stepper to the par of the course (birdies hit - once, bogeys + once etc.) and another display.newText that shows the value of the stepper.

Then maybe outside of the tableView, perhaps in an area at the top of the app you can show the total score, handicap, etc.

Rob

Perhaps you should consider using a widget.newTableView() and insert 18 rows. In each row, Add some text:

Hole: 1  Par 4   420 yards

Hole: 2  Par 3   350 yards

etc.

And in each row also add a widget.newStepper() (+/-) control. This might be the fastest way to enter the score. Initialize the stepper to the par of the course (birdies hit - once, bogeys + once etc.) and another display.newText that shows the value of the stepper.

Then maybe outside of the tableView, perhaps in an area at the top of the app you can show the total score, handicap, etc.

Rob