Bug 35459 - NSOutlineViewDelegate API break in samples.
Summary: NSOutlineViewDelegate API break in samples.
Status: VERIFIED FIXED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Samples ()
Version: Master
Hardware: PC Mac OS
: High normal
Target Milestone: 2.8.0 (C7)
Assignee: Oleg Demchenko
URL:
Depends on:
Blocks:
 
Reported: 2015-11-02 09:38 UTC by Chris Hamons
Modified: 2015-11-03 09:36 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
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:
VERIFIED FIXED

Description Chris Hamons 2015-11-02 09:38:17 UTC
Due to this bug:

https://bugzilla.xamarin.com/show_bug.cgi?id=35356

and changes in the registrar, we have to fix the issue where we have two methods exporting the same selector. 

In a number of our samples, NSOutlineViewDelegate is overriding ViewForTableColumn which did the same thing that GetView did. I removed ViewForTableColumn, so they will have to be replaced with GetView.

This will cause compile breaks with the latest master, and soon the latest cycle 6 build.
Comment 1 Chris Hamons 2015-11-02 09:39:10 UTC
Hmm not sure why it decided for that title. Fixed to "NSOutlineViewDelegate API break in samples."
Comment 2 Oleg Demchenko 2015-11-02 11:21:16 UTC
List of affected samples and fix commits:
MacControls - 321d8085edd42e7bd9755e7ab4a40fef224e8b9e
MacDatabinding - 1e20a0d29145ec19c031fa611c7225e1998f6d89
MacImages - 0f2faa9fdd2cae28b11ea2eb5222535833f0de63
MacOutlines - 1a509f405f1d9953138e3c552e7b1fa01e982d34
Comment 3 Rajneesh Kumar 2015-11-03 09:35:08 UTC
Sample Info: mac-samples1e20a0d29145ec19c031fa611c7225e1998f6d89

1. MacControls
2. MacDatabinding
3. MacImages
4. MacOutlines

I have checked above samples with the Cycle 6 build 
xamarin.mac-2.4.0.108_63c58d9d2e557031edb410f22057b2ca8445a6f8


and observed that this issue does not exist with this build and sample fix. Now I am able to build and run the application successfully, and getting the expected behavior as mentioned in the bug description i.e. I am getting all of the UI in all samples..

Screencast: http://www.screencast.com/t/XUjNT3J07Hhj

All these sample has been updated and working fine, hence I am closing this issue.

Thanks..!
Comment 4 Rajneesh Kumar 2015-11-03 09:36:07 UTC
An update to above comment:

Screencast for other samples: http://www.screencast.com/t/dZ3pSgnuejpg

Thanks..!