Screens, Metrics, and Logs!

After a slow week I finally made some progress over this last weekend. I found out that a chunk of the code/examples I had been following in this 2021 Apple Developer Workout tutorial had been depreciated/updated after looking at some project source code. I spent some time going through my project and making the necessary updates — particularly to my Views and to my WorkoutManger files. After running the app through my iPhone (connected to my computer) I was able to start a session, see the metrics view/controls view/now playing view (all setup through session paging view), and finally save a workout through the summaryView.

Starting a session, being able to pause/resume a session, and move through the different screens

See that we have a working time count, calorie count, and heart rate. Finally, after a session is ended we get to see a summary.

Currently the Metrics View still needs some work. I have been unable to successfully measure distance traveled or steps taken by a user. My plans for the upcoming week are to continue debugging to find out how to successfully request/update these values in order to grab other data that is more related this project. For example, once I can successfully grab and step counts I know I will be able to look at other data such as respiratory rate and stand time.

On Sunday night I was able to successfully able to log metrics values that were working such as heart rate. The log, paired with other documentation will hopefully help me grab other data correctly.

The log shows the progression of calories burned during the session, with the ending value being 5

Leave a Reply

Your email address will not be published.

css.php