Bug 58203 - [xcode9][mapkit] Re-enable NSItemProviderWriting on MKMapItem once bound
Summary: [xcode9][mapkit] Re-enable NSItemProviderWriting on MKMapItem once bound
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 10.99 (xcode9)
Hardware: PC Mac OS
: Normal normal
Target Milestone: Xcode9
Assignee: Alex Soto [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-07-18 02:10 UTC by Sebastien Pouliot
Modified: 2017-08-15 19:35 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: No
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Sebastien Pouliot 2017-07-18 02:10:01 UTC
interface MKMapItem
#if IOS_NOT_BOUND_YET // 
		: NSItemProviderReading, NSItemProviderWriting
#endif
Comment 1 Alex Soto [MSFT] 2017-08-08 20:04:11 UTC
interface CNContact : NSCopying, NSMutableCopying, NSSecureCoding, NSItemProviderReading
#if IOS_NOT_BOUND_YET
	NSItemProviderWriting
#endif
Comment 2 Sebastien Pouliot 2017-08-15 14:00:02 UTC
PR https://github.com/xamarin/xamarin-macios/pull/2468 (already merged) fixed MKMapItem

@Alex I do not see the conformance for NSItemProviderReading or NSItemProviderWriting on CNContact, both in iOS and macOS headers ? was that done indirectly ?
Comment 3 Alex Soto [MSFT] 2017-08-15 14:16:05 UTC
Yes, IIRC this was inside a category class, let me find it (note to self, always put the source header file...)
Comment 4 Alex Soto [MSFT] 2017-08-15 14:36:43 UTC
Here you are!

grep -r "NSItemProviderWriting" .
./Contacts.framework/Headers/CNContact+NSItemProvider.h:@interface CNContact (NSItemProvider) <NSItemProviderReading, NSItemProviderWriting>

@Sebastien do you want me to fix Contacts?
Comment 5 Sebastien Pouliot 2017-08-15 14:38:22 UTC
@Alex please go ahead, full steam! :)
Comment 6 Alex Soto [MSFT] 2017-08-15 16:00:20 UTC
PR: https://github.com/xamarin/xamarin-macios/pull/2496
Comment 7 Alex Soto [MSFT] 2017-08-15 19:35:23 UTC
Merged in xamarin-macios/xcode9 @ 2a007efaa99c6cda2276cb7db6dd6aaf0610cae7