views:

192

answers:

1

I am developing an ipad app which has a UISplitViewController. (I use IB to build the interface, but I do not use the template) Both master and detail (left and right) views are navigationController. The left view subclass UITableView and the right view should push another controller if the cell on the left is selected. I don't know how to make my detail view responds to my master view.

Also, in the template, the detailViewController has a id detailItem and a method setDetailItem. How are these two connected? I cannot see any connection between but setDetailItem is called when detailViewController.detailItem is being called.

Thanks in advance.

A: 

Brian, Did you ever figure this out? I'm also trying to understand how splitViewApplications call setDetailItem.

Thanks DaltonHamilton

By setting a property for detailItem and synthesize it, a setter and a getter methods are created. Here is a nice explanation for how to use properties: http://www.iphonedevsdk.com/forum/iphone-sdk-tutorials/7295-getters-setters-properties-newbie.html
Brian