Post

Replies

Boosts

Views

Activity

Any way to get Int value of HKQueryAnchor?
Beta 5 added the HKQueryAnchor class, which includes a convenience initializer HKQueryAnchor.init(fromValue: Int).Prior to beta 5, the anchor was represented as an Int. This made it possible to persist the anchor as an Int.In beta 5, while I can construct a new HKQueryAnchor from an Int, I cannot get the Int representation of the HKQueryAnchor.Is there any way to get the Int value of an HKQueryAnchor?
6
0
1.9k
Aug ’15