objective c - "Failed to unarchive element named UITableViewController" -


i've been following "build second ios app" tutorial step step , have run error after tutorial promised errors go away, error didn't show until after other errors corrected , tried compile it.

the error:

the document "mainstoryboard_iphone.storyboard" not opened. failed unarchive element named "uitableviewcontroller". 

here link tutorial.

here storyboard in xml format

<?xml version="1.0" encoding="utf-8" standalone="no"?> <document type="com.apple.interfacebuilder3.cocoatouch.storyboard.xib" version="1.1" toolsversion="2182" systemversion="11d50" targetruntime="ios.cocoatouch" propertyaccesscontrol="none" initialviewcontroller="3"> <dependencies>     <deployment defaultversion="1296" identifier="ios"/>     <development defaultversion="4200" identifier="xcode"/>     <plugin identifier="com.apple.interfacebuilder.ibcocoatouchplugin" version="1179"/> </dependencies> <scenes>     <!--navigation controller-->     <scene sceneid="11">         <objects>             <placeholder placeholderidentifier="ibfirstresponder" id="10" scenememberid="firstresponder"/>             <navigationcontroller id="3" scenememberid="viewcontroller">                 <navigationbar key="navigationbar" opaque="no" clipssubviews="yes" multipletouchenabled="yes" contentmode="scaletofill" id="4">                     <autoresizingmask key="autoresizingmask"/>                 </navigationbar>                 <connections>                     <segue destination="12" kind="relationship" relationship="rootviewcontroller" id="19"/>                 </connections>             </navigationcontroller>         </objects>         <point key="canvaslocation" x="-1" y="64"/>     </scene>     <!--hello world master view controller - master-->     <scene sceneid="18">         <objects>             <placeholder placeholderidentifier="ibfirstresponder" id="17" scenememberid="firstresponder"/>             <tableviewcontroller storyboardidentifier="" title="master" id="12" customclass="helloworldmasterviewcontroller" scenememberid="viewcontroller">                 <tableview key="view" opaque="no" clipssubviews="yes" clearscontextbeforedrawing="no" contentmode="scaletofill" alwaysbouncevertical="yes" datamode="prototypes" style="plain" rowheight="44" sectionheaderheight="22" sectionfooterheight="22" id="13">                     <rect key="frame" x="0.0" y="64" width="320" height="416"/>                     <autoresizingmask key="autoresizingmask" widthsizable="yes" heightsizable="yes"/>                     <color key="backgroundcolor" white="1" alpha="1" colorspace="calibratedwhite"/>                     <prototypes>                         <tableviewcell contentmode="scaletofill" selectionstyle="blue" accessorytype="disclosureindicator" hidesaccessorywhenediting="no" indentationlevel="1" indentationwidth="0.0" reuseidentifier="birdsightingcell" textlabel="phq-am-6qj" detailtextlabel="d2j-b0-0ip" style="ibuitableviewcellstylesubtitle" id="lj0-d7-vtf">                             <rect key="frame" x="0.0" y="22" width="320" height="44"/>                             <autoresizingmask key="autoresizingmask"/>                             <view key="contentview" opaque="no" clipssubviews="yes" multipletouchenabled="yes" contentmode="center">                                 <rect key="frame" x="0.0" y="0.0" width="300" height="43"/>                                 <autoresizingmask key="autoresizingmask"/>                                 <subviews>                                     <label opaque="no" clipssubviews="yes" multipletouchenabled="yes" contentmode="left" text="bird sightings" linebreakmode="tailtruncation" baselineadjustment="alignbaselines" adjustsfontsizetofit="no" id="phq-am-6qj">                                         <rect key="frame" x="10" y="2" width="123" height="22"/>                                         <autoresizingmask key="autoresizingmask"/>                                         <fontdescription key="fontdescription" type="boldsystem" pointsize="18"/>                                         <color key="textcolor" cocoatouchsystemcolor="darktextcolor"/>                                         <color key="highlightedcolor" red="1" green="1" blue="1" alpha="1" colorspace="calibratedrgb"/>                                     </label>                                     <label opaque="no" clipssubviews="yes" multipletouchenabled="yes" contentmode="left" text="subtitle" linebreakmode="tailtruncation" baselineadjustment="alignbaselines" adjustsfontsizetofit="no" id="d2j-b0-0ip">                                         <rect key="frame" x="10" y="24" width="47" height="18"/>                                         <autoresizingmask key="autoresizingmask"/>                                         <fontdescription key="fontdescription" type="system" pointsize="14"/>                                         <color key="textcolor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" alpha="1" colorspace="calibratedrgb"/>                                         <color key="highlightedcolor" red="1" green="1" blue="1" alpha="1" colorspace="calibratedrgb"/>                                     </label>                                 </subviews>                                 <color key="backgroundcolor" white="0.0" alpha="0.0" colorspace="calibratedwhite"/>                             </view>                             <color key="backgroundcolor" white="1" alpha="1" colorspace="calibratedwhite"/>                             <connections>                                 <segue destination="21" kind="push" identifier="showsightingdetails" id="w1o-hr-dxb"/>                             </connections>                         </tableviewcell>                     </prototypes>                     <sections/>                     <connections>                         <outlet property="datasource" destination="12" id="16"/>                         <outlet property="delegate" destination="12" id="15"/>                     </connections>                 </tableview>                 <navigationitem key="navigationitem" title="bird sightings" id="36"/>             </tableviewcontroller>         </objects>         <point key="canvaslocation" x="459" y="64"/>     </scene>     <!--hello world detail view controller - detail-->     <scene sceneid="24">         <objects>             <placeholder placeholderidentifier="ibfirstresponder" id="23" scenememberid="firstresponder"/>             <viewcontroller storyboardidentifier="" title="detail" id="21" customclass="helloworlddetailviewcontroller" scenememberid="viewcontroller">                 <view key="view" contentmode="scaletofill" id="22">                     <rect key="frame" x="0.0" y="64" width="320" height="416"/>                     <autoresizingmask key="autoresizingmask" flexiblemaxx="yes" flexiblemaxy="yes"/>                     <subviews>                         <tableview clipssubviews="yes" contentmode="scaletofill" alwaysbouncevertical="yes" datamode="static" style="plain" rowheight="44" sectionheaderheight="22" sectionfooterheight="22" id="bjd-7w-8nv">                             <rect key="frame" x="0.0" y="0.0" width="320" height="445"/>                             <autoresizingmask key="autoresizingmask" widthsizable="yes" heightsizable="yes"/>                             <color key="backgroundcolor" white="1" alpha="1" colorspace="calibratedwhite"/>                             <sections>                                 <tableviewsection headertitle="" id="ihs-gj-deh">                                     <cells>                                         <tableviewcell contentmode="scaletofill" selectionstyle="blue" hidesaccessorywhenediting="no" indentationlevel="1" indentationwidth="0.0" id="6ax-ng-pen">                                             <rect key="frame" x="0.0" y="0.0" width="320" height="44"/>                                             <autoresizingmask key="autoresizingmask"/>                                             <view key="contentview" opaque="no" clipssubviews="yes" multipletouchenabled="yes" contentmode="center">                                                 <rect key="frame" x="0.0" y="0.0" width="320" height="43"/>                                                 <autoresizingmask key="autoresizingmask"/>                                                 <subviews>                                                     <label opaque="no" clipssubviews="yes" userinteractionenabled="no" contentmode="left" text="bird name:" textalignment="right" linebreakmode="tailtruncation" baselineadjustment="alignbaselines" minimumfontsize="10" id="eba-dh-ofl">                                                         <rect key="frame" x="20" y="11" width="125" height="21"/>                                                         <autoresizingmask key="autoresizingmask" flexiblemaxx="yes" flexiblemaxy="yes"/>                                                         <fontdescription key="fontdescription" type="boldsystem" pointsize="17"/>                                                         <color key="textcolor" cocoatouchsystemcolor="darktextcolor"/>                                                         <color key="highlightedcolor" white="1" alpha="1" colorspace="calibratedwhite"/>                                                     </label>                                                     <label opaque="no" clipssubviews="yes" userinteractionenabled="no" contentmode="left" text="label" linebreakmode="tailtruncation" baselineadjustment="alignbaselines" minimumfontsize="10" id="pbz-nz-g9m">                                                         <rect key="frame" x="153" y="11" width="147" height="21"/>                                                         <autoresizingmask key="autoresizingmask" flexiblemaxx="yes" flexiblemaxy="yes"/>                                                         <fontdescription key="fontdescription" type="system" pointsize="17"/>                                                         <color key="textcolor" white="0.66666666666666663" alpha="1" colorspace="calibratedwhite"/>                                                         <color key="highlightedcolor" white="1" alpha="1" colorspace="calibratedwhite"/>                                                     </label>                                                 </subviews>                                                 <color key="backgroundcolor" white="0.0" alpha="0.0" colorspace="calibratedwhite"/>                                             </view>                                         </tableviewcell>                                     </cells>                                 </tableviewsection>                                 <tableviewsection headertitle="" id="ygg-h0-ybx">                                     <cells>                                         <tableviewcell contentmode="scaletofill" selectionstyle="blue" hidesaccessorywhenediting="no" indentationlevel="1" indentationwidth="0.0" id="oys-dm-zln">                                             <rect key="frame" x="0.0" y="44" width="320" height="44"/>                                             <autoresizingmask key="autoresizingmask"/>                                             <view key="contentview" opaque="no" clipssubviews="yes" multipletouchenabled="yes" contentmode="center">                                                 <rect key="frame" x="0.0" y="0.0" width="320" height="43"/>                                                 <autoresizingmask key="autoresizingmask"/>                                                 <subviews>                                                     <label opaque="no" clipssubviews="yes" userinteractionenabled="no" contentmode="left" text="location:" textalignment="right" linebreakmode="tailtruncation" baselineadjustment="alignbaselines" minimumfontsize="10" id="mbd-wl-cey">                                                         <rect key="frame" x="20" y="11" width="125" height="21"/>                                                         <autoresizingmask key="autoresizingmask" flexiblemaxx="yes" flexiblemaxy="yes"/>                                                         <fontdescription key="fontdescription" type="boldsystem" pointsize="17"/>                                                         <color key="textcolor" cocoatouchsystemcolor="darktextcolor"/>                                                         <color key="highlightedcolor" white="1" alpha="1" colorspace="calibratedwhite"/>                                                     </label>                                                     <label opaque="no" clipssubviews="yes" userinteractionenabled="no" contentmode="left" text="label" linebreakmode="tailtruncation" baselineadjustment="alignbaselines" minimumfontsize="10" id="a69-jc-wxb">                                                         <rect key="frame" x="153" y="11" width="147" height="21"/>                                                         <autoresizingmask key="autoresizingmask" flexiblemaxx="yes" flexiblemaxy="yes"/>                                                         <fontdescription key="fontdescription" type="system" pointsize="17"/>                                                         <color key="textcolor" white="0.66666666666666663" alpha="1" colorspace="calibratedwhite"/>                                                         <color key="highlightedcolor" white="1" alpha="1" colorspace="calibratedwhite"/>                                                     </label>                                                 </subviews>                                                 <color key="backgroundcolor" white="0.0" alpha="0.0" colorspace="calibratedwhite"/>                                             </view>                                         </tableviewcell>                                     </cells>                                 </tableviewsection>                                 <tableviewsection headertitle="" id="zi6-o7-xn3">                                     <cells>                                         <tableviewcell contentmode="scaletofill" selectionstyle="blue" hidesaccessorywhenediting="no" indentationlevel="1" indentationwidth="0.0" id="gsv-cz-0go">                                             <rect key="frame" x="0.0" y="88" width="320" height="44"/>                                             <autoresizingmask key="autoresizingmask"/>                                             <view key="contentview" opaque="no" clipssubviews="yes" multipletouchenabled="yes" contentmode="center">                                                 <rect key="frame" x="0.0" y="0.0" width="320" height="43"/>                                                 <autoresizingmask key="autoresizingmask"/>                                                 <subviews>                                                     <label opaque="no" clipssubviews="yes" userinteractionenabled="no" contentmode="left" text="date:" textalignment="right" linebreakmode="tailtruncation" baselineadjustment="alignbaselines" minimumfontsize="10" id="k2s-9i-tfj">                                                         <rect key="frame" x="20" y="11" width="125" height="21"/>                                                         <autoresizingmask key="autoresizingmask" flexiblemaxx="yes" flexiblemaxy="yes"/>                                                         <fontdescription key="fontdescription" type="boldsystem" pointsize="17"/>                                                         <color key="textcolor" cocoatouchsystemcolor="darktextcolor"/>                                                         <color key="highlightedcolor" white="1" alpha="1" colorspace="calibratedwhite"/>                                                     </label>                                                     <label opaque="no" clipssubviews="yes" userinteractionenabled="no" contentmode="left" text="label" linebreakmode="tailtruncation" baselineadjustment="alignbaselines" minimumfontsize="10" id="ptf-ge-hjf">                                                         <rect key="frame" x="153" y="11" width="147" height="21"/>                                                         <autoresizingmask key="autoresizingmask" flexiblemaxx="yes" flexiblemaxy="yes"/>                                                         <fontdescription key="fontdescription" type="system" pointsize="17"/>                                                         <color key="textcolor" white="0.66666666666666663" alpha="1" colorspace="calibratedwhite"/>                                                         <color key="highlightedcolor" white="1" alpha="1" colorspace="calibratedwhite"/>                                                     </label>                                                 </subviews>                                                 <color key="backgroundcolor" white="0.0" alpha="0.0" colorspace="calibratedwhite"/>                                             </view>                                         </tableviewcell>                                     </cells>                                 </tableviewsection>                             </sections>                         </tableview>                     </subviews>                     <color key="backgroundcolor" white="1" alpha="1" colorspace="custom" customcolorspace="calibratedwhite"/>                 </view>                 <navigationitem key="navigationitem" title="sightings" id="26"/>                 <connections>                     <outlet property="lblbirdname" destination="pbz-nz-g9m" id="kgv-rg-2my"/>                     <outlet property="lbldate" destination="ptf-ge-hjf" id="scy-ns-sot"/>                     <outlet property="lbllocation" destination="a69-jc-wxb" id="hwm-zv-8qe"/>                 </connections>             </viewcontroller>         </objects>         <point key="canvaslocation" x="902" y="64"/>     </scene> </scenes> <classes>     <class classname="helloworlddetailviewcontroller" superclassname="uitableviewcontroller">         <source key="sourceidentifier" type="project" relativepath="./classes/helloworlddetailviewcontroller.h"/>         <relationships>             <relationship kind="outlet" name="lblbirdname" candidateclass="uilabel"/>             <relationship kind="outlet" name="lbldate" candidateclass="uilabel"/>             <relationship kind="outlet" name="lbllocation" candidateclass="uilabel"/>         </relationships>     </class>     <class classname="helloworldmasterviewcontroller" superclassname="uitableviewcontroller">         <source key="sourceidentifier" type="project" relativepath="./classes/helloworldmasterviewcontroller.h"/>     </class> </classes> <simulatedmetricscontainer key="defaultsimulatedmetrics">     <simulatedstatusbarmetrics key="statusbar"/>     <simulatedorientationmetrics key="orientation"/>     <simulatedscreenmetrics key="destination"/> </simulatedmetricscontainer> </document> 

i new objective c , xcode i'm not sure i'm doing wrong or begin error that. if knows how fix error, or better (online) resource learning both objective c , ios development @ same time, appreciate either one.

here project if wants take @ me.

i able find out did wrong on tutorial. rather drag tableviewcontroller , delete detailviewcontroller dragged table onto controller on top of detail view. i'm not sure how missed that, must have been tired yesterday.

also, stuck on apple iphone development tutorial, highly recommend "stanford iphone development" series on itunes. i'm going through right , amazing. explains things apple tutorial never did (like when use strong vs weak in properties, atomic vs nonatomic in properties). know i'm starting understand objective c because know google when stuck.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -