Skip to content

Commit

Permalink
Added missing comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
RealLast committed Aug 24, 2024
1 parent d42fa7d commit eb1bcea
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,15 @@ public final class ConsentDocumentExport: Equatable, Sendable {
/// Corresponds to the identifier which was passed when creating the `ConsentDocument` using an `OnboardingConsentView`.
public let documentIdentifier: String

/// The name of the person which signed the document.
public var name = PersonNameComponents()
#if !os(macOS)
/// The signature of the signee as drawing.
public var signature = PKDrawing()
/// The image generated from the signature drawing.
public var signatureImage = UIImage()
#else
/// The signature of the signee as string.
public var signature = String()
#endif

Expand All @@ -55,6 +59,7 @@ public final class ConsentDocumentExport: Equatable, Sendable {

/// Creates a `ConsentDocumentExport`, which holds an exported PDF and the corresponding document identifier string.
/// - Parameters:
/// - markdown: The markdown text for the document, which is shown to the user.
/// - documentIdentfier: A unique String identifying the exported `ConsentDocument`.
/// - exportConfiguration: The `ExportConfiguration` holding the properties of the document.
/// - cachedPDF: A `PDFDocument` exported from a `ConsentDocument`.
Expand Down

0 comments on commit eb1bcea

Please sign in to comment.