Changes

m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<googlehtmlet>BUY_IPADios9_upgrade</googlehtmlet>
Earlier in this chapter we created an outlet for the root view controller in the App Delegate. We must now connect it to the Tab Bar Controller instance we have created. From within the ''MainWindow.xib'' file hold down the Control key, click on the Tab Bar App Delegate icon and drag the resulting line to the ''Tab Bar Controller'' icon. From the resulting Outlets menu, select the tabController outlet.
<googlehtmlet>BUY_IPAD_BOTTOMios9_upgrade</googlehtmlet>
== Creating the Content Views and View Controllers ==
== Associating Content Views with Tabs ==
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
Having created an instance of the Tab Bar Controller, the content views and corresponding view controllers it is time to associate each tab in the tab bar with a content view. Select the ''MainWindow.xib'' file and in the list of Objects select the ''View Controller – Item 1'' entry. In the right hand panel, display the Identity Inspector (''View -> Utilities -> Identity Inspector'') and change the Class setting from UIViewController to ScreenOneViewController. Select ''View Controller – Item 2'' and change the class to ''ScreenTwoViewController''.
<googlehtmlet>BUY_IPAD_BOTTOMios9_upgrade</googlehtmlet>
 
<htmlet>ezoicbottom</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%">