Contract

Undocumented

  • Converts the receiver into a ResearchKit consent document.

    Declaration

    Swift

    public func c3_asConsentDocument() throws -> ORKConsentDocument

    Return Value

    An ORKConsentDocument created from the receiver

  • Creates ResearchKit consent sections from the receiver’s terms.

    Declaration

    Swift

    public func c3_termsAsConsentSections() throws -> [ORKConsentSection]

    Return Value

    An array of ORKConsentSection