Added algorithm for pagination to PDF export, allowing to export consent forms with more than 1 page (#49) #294
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+Export.swift#L60
conformance of 'NSFont' to 'Sendable' is unavailable
|
Build and test (xcodebuild):
<unknown>#L1
cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; 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/ConsentView/OnboardingConsentView+ShareSheet.swift#L59
main actor-isolated property 'keyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/ConsentView/OnboardingConsentView+ShareSheet.swift#L59
main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/ConsentView/OnboardingConsentView+ShareSheet.swift#L59
main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
|
Loading