Added algorithm for pagination to PDF export, allowing to export consent forms with more than 1 page (#49) #288
Annotations
10 warnings
Build and test (xcodebuild):
Sources/SpeziOnboarding/ConsentView/ExportConfiguration+Defaults.swift#L43
static property 'defaultExportFontSettings' is not concurrency-safe because non-'Sendable' type 'ConsentDocument.ExportConfiguration.FontSettings' may have shared mutable state; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/ConsentView/ConsentDocument+ExportConfiguration.swift#L129
stored property 'fontSettings' of 'Sendable'-conforming struct 'ExportConfiguration' has non-sendable type 'ConsentDocument.ExportConfiguration.FontSettings'; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
@__swiftmacro_15SpeziOnboarding21ConsentDocumentExportC9cachedPDF18ObservationTrackedfMp_.swift#L1
stored property '_cachedPDF' of 'Sendable'-conforming class 'ConsentDocumentExport' is mutable; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/ConsentView/ExportConfiguration+Defaults.swift#L54
static property 'defaultSystemDefaultFontSettings' is not concurrency-safe because non-'Sendable' type 'ConsentDocument.ExportConfiguration.FontSettings' may have shared mutable state; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/OnboardingDataSource.swift#L44
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/ConsentView/ExportConfiguration+Defaults.swift#L43
static property 'defaultExportFontSettings' is not concurrency-safe because non-'Sendable' type 'ConsentDocument.ExportConfiguration.FontSettings' may have shared mutable state; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/OnboardingDataSource.swift#L85
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/OnboardingDataSource.swift#L87
'store(consent:)' is deprecated: Storing consent documents without an identifier is deprecated.
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/OnboardingDataSource.swift#L86
non-sendable type 'PDFDocument' in asynchronous access to main actor-isolated property 'pdf' cannot cross actor boundary; this is an error in the Swift 6 language mode
|
Loading