xamarin-macios icon indicating copy to clipboard operation
xamarin-macios copied to clipboard

[PdfKit] Add missing selectors for Xcode 14 beta 4

Open tj-devel709 opened this issue 2 years ago • 0 comments

Once UIKit for Xcode 14 (UIFindInteraction and UIFindInteractionDelegate specifically) is finished, comment out the following lines of code:

interface PdfView :
#if IOS
	// Uncomment this changes after Xcode 14 UIKit is bound - https://github.com/xamarin/xamarin-macios/issues/15623
	UIGestureRecognizerDelegate//, UIFindInteractionDelegate
#else
	NSMenuDelegate, NSAnimationDelegate
#endif
*inside interface PdfView
// Uncomment this changes after Xcode 14 UIKit is bound - https://github.com/xamarin/xamarin-macios/issues/15623
// [iOS (16,0), NoMac, MacCatalyst (16,0)]
// [Export ("findInteraction")]
// UIFindInteraction FindInteraction { get; }

Also remove these lines from common-PDFKit.ignore and api-annotations-dotnet/common-PDFKit.ignore

# Uncomment these changes after Xcode 14 UIKit is bound - https://github.com/xamarin/xamarin-macios/issues/15623
!missing-protocol-conformance! PDFView should conform to UIFindInteractionDelegate
!missing-selector! PDFView::findInteraction not bound

tj-devel709 avatar Aug 04 '22 13:08 tj-devel709

As mentioned here, this issue is now fixed https://github.com/xamarin/xamarin-macios/pull/15628#issuecomment-1230750001

tj-devel709 avatar Aug 29 '22 19:08 tj-devel709