Loading Different Views With Segmented Control
<p>I am using a segmented control with 2 segments on one of the tab bar items on my iPhone app. Essentially, I would like to display two different views when each segment is selected - one segment shows a tableview and the other segment shows a mapview.</p>

<p>So, when segment 1 is tapped, a tableview is displayed. And on tap of segment 2, a mapview is displayed. Each view has its own controller and is loaded from its own nib file. Is this possible? </p>

<p>I successfully created the two views (and controllers) and the two segment controls (on the navigation bar) via XCode but have no idea how to proceed next. Any suggestions and sample code to would be most appreciated.</p>
