Added algorithm for pagination to PDF export, allowing to export consent forms with more than 1 page (#49) #284
Annotations
10 warnings
Build and test (xcodebuild):
Sources/SpeziOnboarding/ConsentView/ExportConfiguration+Defaults.swift#L20
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/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):
Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'; 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#L31
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/OnboardingActionsView.swift#L41
converting non-sendable function value to '@mainactor @sendable () async throws -> Void' may introduce data races
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/OnboardingActionsView.swift#L47
converting non-sendable function value to '@mainactor @sendable () async throws -> Void' may introduce data races
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/ConsentView/ExportConfiguration+Defaults.swift#L20
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/OnboardingConsentView.swift#L121
sending 'self.onboardingDataSource' risks causing data races; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
<unknown>#L1
cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.UIKitAttributes, AttributeScopes.UIKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
|
Loading