default()
Returns a source object for the current app.
Declaration
class func `default`() -> HKSourceReturn Value
A source object for the current app.
Discussion
You can access the source object for the current app directly using this methods. To access other sources, use a source query or similar approach.