Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: ce1eafc8bc2caf6669a00722b1ac06e7edb3e74d https://github.com/WebKit/WebKit/commit/ce1eafc8bc2caf6669a00722b1ac06e7edb3e74d Author: Richard Robinson <richard_robins...@apple.com> Date: 2025-04-21 (Mon, 21 Apr 2025)
Changed paths: M Source/WebCore/PAL/pal/spi/cocoa/WritingToolsSPI.h M Source/WebCore/PAL/pal/spi/cocoa/WritingToolsUISPI.h M Source/WebKit/Configurations/WebKitSwift.xcconfig A Source/WebKit/Platform/spi/ios/UIKit_SPI.swiftinterface M Source/WebKit/WebKit.xcodeproj/project.pbxproj M Source/WebKit/WebKitSwift/TextAnimation/TextAnimationManager.swift M Source/WebKit/WebKitSwift/WritingTools/PlatformIntelligenceTextEffectView.swift M Tools/TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h M Tools/TestWebKitAPI/Tests/WebKitCocoa/WritingTools.mm Log Message: ----------- [Writing Tools] Support compiling ENABLE_WRITING_TOOLS on the public SDK (Part 4) https://bugs.webkit.org/show_bug.cgi?id=291811 rdar://149644885 Reviewed by Aditya Keerthi. More iOS-specific work for ENABLE_WRITING_TOOLS on the public SDK. Since some WebKit Swift files use Swift UIKit SPI, a dummy `.swiftinterface` file and module must be created so that the symbols can be found when compiling with the public SDK, similar to the existing `QuickLook_SPI` module. * Source/WebCore/PAL/pal/spi/cocoa/WritingToolsSPI.h: * Source/WebCore/PAL/pal/spi/cocoa/WritingToolsUISPI.h: * Tools/TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h: * Tools/TestWebKitAPI/Tests/WebKitCocoa/WritingTools.mm: Drive-by fix: add some missing forward declarations and imports. * Source/WebKit/Configurations/WebKitSwift.xcconfig: Add the `ios` SPI directory to the Swift include paths, similar to the existing `visionos` directory included. * Source/WebKit/Platform/spi/ios/UIKit_SPI.swiftinterface: Added. * Source/WebKit/WebKit.xcodeproj/project.pbxproj: Make a manually-created swiftinterface file similar to the real UIKit and UIKitCore swiftinterfaces, only including the symbols used in WebKit/WebKitSwift, and using a unique module name `UIKit_SPI`. * Source/WebKit/WebKitSwift/TextAnimation/TextAnimationManager.swift: * Source/WebKit/WebKitSwift/WritingTools/PlatformIntelligenceTextEffectView.swift: When compiling with the public SDK, use the `UIKit_SPI` module so that the symbols can be accessed. Also remove an unused import. Canonical link: https://commits.webkit.org/293923@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes