Post

Replies

Boosts

Views

Activity

Reply to access the uuid property in query
Why don't you simply access the property uuid? for result in results as! [HKQuantitySample] { let uuid = result.uuid print(uuid) let bloodGlucose = result.quantity.description //... } By the way, what is the type of results? You should better avoid risky forced casting as! as far as you can.
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’21
Reply to progress bar will not work
What do you mean by will not work? If your code causes build time errors, you should show all the error messages. If your code causes runtime errors, you should include all the error info as well as all the steps to reproduce the error. If your code runs without errors but generates unexpected results, you need to clarify what you expect, what you actually get and how you can reproduce the issue.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’21