Added algorithm for pagination to PDF export, allowing to export consent forms with more than 1 page (#49) #291
Annotations
10 warnings
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/OnboardingDataSource.swift#L44
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
|
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
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/OnboardingDataSource.swift#L86
no calls to throwing functions occur within 'try' expression
|
Build and test (xcodebuild):
Sources/SpeziOnboarding/OnboardingDataSource.swift#L87
sending 'pdf' risks causing data races; 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
|
Loading