Bug 5654 - Master-Detail templates need a revamp
Summary: Master-Detail templates need a revamp
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 3.0.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-06-14 12:52 UTC by Jeffrey Stedfast
Modified: 2013-01-03 15:47 UTC (History)
1 user (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:
RESOLVED FIXED

Description Jeffrey Stedfast 2012-06-14 12:52:59 UTC
When I was fixing up the iphone/ipad templates for 2.8 or 3.0, I remember making a mental note of this but I really should have opened a bug report about it...

that said, one of our users just sent us an email pointing this out and we really should revamp the templates.

-----------
If you open xcode and start a new project and pick the master-detail
template and then run the thing, you get a functional app where you can add
items to the master view and then as you select items the detail view
changes accordingly.

[image: Inline image 1]

If you run monodevelop and pick master-detail for iPad you get an app that
does absolutely nothing:

[image: Inline image 2]

The master controller and detail controller aren't wired up at all. Even if
you add additional cells to the table in the master view, selecting
different cells won't do anything in the detail view. Its not completely
useless in that there is at least a datasource with some stubbed out
methods including RowSelected. But the user has to figure out how to get
the RootViewController and DetailViewController communicating (it wasn't
too hard - I used the xcode template as a reference).

If you try the master-detail storyboard template its even worse. There is
no datasource - there's barely any code at all in the RootViewController. I
haven't figure out how I am supposed to wire things up with this guy (other
than copying and pasting code enmass from the other template).
-----------
Comment 1 Jeffrey Stedfast 2013-01-03 15:47:38 UTC
this is now fixed