Bug 8298 - UITableViewSource needs to be updated with new iOS6 UITableViewDelegate members
Summary: UITableViewSource needs to be updated with new iOS6 UITableViewDelegate members
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 6.0.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Sebastien Pouliot
Depends on:
Reported: 2012-11-08 17:38 UTC by t9mike
Modified: 2012-11-09 09:16 UTC (History)
2 users (show)

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:

Description t9mike 2012-11-08 17:38:46 UTC
Equivalent of these seem to be missing from UITableViewSource:


Especially useful for me now are the highlighting methods, as I have a custom table cell that I want to change the colors when a user presses down (vs. have to wait for the full selected stuff).
Comment 1 t9mike 2012-11-08 19:23:48 UTC
I was able to add the bindings I needed to MonoTouch.Dialog's UITableViewSource sub-class:

            public void DidHighlightRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
            public void DidUnhighlightRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)

I'd still love to see all the new iOS6 bits in UITableViewSource.
Comment 2 Sebastien Pouliot 2012-11-09 08:14:04 UTC
They new members exists inside UITableViewDelegate but they were not added to UITableViewSource*.

* it does not exists in iOS (it's MonoTouch specific). UITableViewSource _should_ be UITableViewDelegate + UITableViewDataSource (so it's an bug in the bindings).
Comment 3 Sebastien Pouliot 2012-11-09 09:16:35 UTC
Fixed in
ios6: 4545c7dfc8655407c7ddf0e59aa1eeacf26e3904
master: f3d43d8ece78de7108de5f9022642e7c87800703

QA: unit tests added in both branches