Skip to content

Commit

Permalink
Fixes error with view outlet not being set for DetailViewController.xib
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Jun 9, 2011
1 parent 579978a commit 12e130a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 149 deletions.
2 changes: 1 addition & 1 deletion iCPAN.xcodeproj/project.pbxproj
Expand Up @@ -468,7 +468,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.3;
SDKROOT = iphoneos;
SDKROOT = iphoneos4.3;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand Down
1 change: 1 addition & 0 deletions iCPAN/DetailViewController.m
Expand Up @@ -64,6 +64,7 @@ - (void)viewWillAppear:(BOOL)animated

- (void)viewDidAppear:(BOOL)animated
{
NSLog(@"detail view did appear");
[super viewDidAppear:animated];
}

Expand Down
42 changes: 5 additions & 37 deletions iCPAN/DetailViewController.xib
Expand Up @@ -12,7 +12,6 @@
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>IBUIWebView</string>
<string>IBUIToolbar</string>
<string>IBUIView</string>
<string>IBUILabel</string>
Expand Down Expand Up @@ -47,10 +46,10 @@
<object class="IBUILabel" id="483876647">
<reference key="NSNextResponder" ref="647120888"/>
<int key="NSvFlags">298</int>
<string key="NSFrame">{{-11, 44}, {728, 21}}</string>
<string key="NSFrame">{{-19, 259}, {728, 21}}</string>
<reference key="NSSuperview" ref="647120888"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="26966652"/>
<reference key="NSNextKeyView"/>
<object class="NSColor" key="IBUIBackgroundColor" id="33107367">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
Expand Down Expand Up @@ -82,21 +81,6 @@
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<object class="IBUIWebView" id="26966652">
<reference key="NSNextResponder" ref="647120888"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{0, 73}, {768, 955}}</string>
<reference key="NSSuperview" ref="647120888"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MSAxIDEAA</bytes>
</object>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
<int key="IBUIDataDetectorTypes">1</int>
<bool key="IBUIDetectsPhoneNumbers">YES</bool>
</object>
</object>
<string key="NSFrame">{{0, 20}, {768, 1004}}</string>
<reference key="NSSuperview"/>
Expand Down Expand Up @@ -129,21 +113,13 @@
</object>
<int key="connectionID">66</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">delegate</string>
<reference key="source" ref="26966652"/>
<reference key="destination" ref="841351856"/>
</object>
<int key="connectionID">68</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">view</string>
<reference key="source" ref="841351856"/>
<reference key="destination" ref="26966652"/>
<reference key="destination" ref="647120888"/>
</object>
<int key="connectionID">69</int>
<int key="connectionID">70</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
Expand Down Expand Up @@ -173,7 +149,6 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="410698538"/>
<reference ref="483876647"/>
<reference ref="26966652"/>
</object>
<reference key="parent" ref="0"/>
</object>
Expand All @@ -191,11 +166,6 @@
<reference key="parent" ref="647120888"/>
<string key="objectName">Toolbar</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">67</int>
<reference key="object" ref="26966652"/>
<reference key="parent" ref="647120888"/>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
Expand All @@ -206,7 +176,6 @@
<string>-2.CustomClassName</string>
<string>45.IBPluginDependency</string>
<string>63.IBPluginDependency</string>
<string>67.IBPluginDependency</string>
<string>8.IBEditorWindowLastContentRect</string>
<string>8.IBPluginDependency</string>
</object>
Expand All @@ -216,7 +185,6 @@
<string>UIResponder</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>{{194, 0}, {783, 856}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
Expand All @@ -233,7 +201,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
<int key="maxID">69</int>
<int key="maxID">70</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
Expand Down
114 changes: 3 additions & 111 deletions iCPAN/MainWindow_iPad.xib
Expand Up @@ -34,11 +34,9 @@
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
</object>
<object class="IBUIWindow" id="673453472">
<reference key="NSNextResponder"/>
<nil key="NSNextResponder"/>
<int key="NSvFlags">292</int>
<string key="NSFrameSize">{768, 1024}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MSAxIDEAA</bytes>
Expand Down Expand Up @@ -87,7 +85,6 @@
<array class="NSMutableArray" key="IBUIViewControllers">
<object class="IBUIViewController" id="628621953">
<object class="IBUINavigationItem" key="IBUINavigationItem" id="953066134">
<reference key="IBUINavigationBar"/>
<string key="IBUITitle">Item</string>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
</object>
Expand All @@ -107,7 +104,7 @@
<object class="IBUIViewController" key="IBUIDetailViewController" id="23693665">
<reference key="IBUIToolbarItems" ref="0"/>
<reference key="IBUIParentViewController" ref="1001026670"/>
<string key="IBUINibName">DetailView</string>
<string key="IBUINibName">DetailViewController</string>
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
<int key="IBUIInterfaceOrientation">1</int>
<int key="interfaceOrientation">1</int>
Expand Down Expand Up @@ -262,112 +259,7 @@
<nil key="sourceID"/>
<int key="maxID">58</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
<object class="IBPartialClassDescription">
<string key="className">DetailViewController</string>
<string key="superclassName">UIViewController</string>
<dictionary class="NSMutableDictionary" key="outlets">
<string key="detailDescriptionLabel">UILabel</string>
<string key="genericViewController">GenericViewController</string>
<string key="toolbar">UIToolbar</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
<object class="IBToOneOutletInfo" key="detailDescriptionLabel">
<string key="name">detailDescriptionLabel</string>
<string key="candidateClassName">UILabel</string>
</object>
<object class="IBToOneOutletInfo" key="genericViewController">
<string key="name">genericViewController</string>
<string key="candidateClassName">GenericViewController</string>
</object>
<object class="IBToOneOutletInfo" key="toolbar">
<string key="name">toolbar</string>
<string key="candidateClassName">UIToolbar</string>
</object>
</dictionary>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/DetailViewController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">GenericViewController</string>
<string key="superclassName">UIViewController</string>
<object class="NSMutableDictionary" key="outlets">
<string key="NS.key.0">detailViewController</string>
<string key="NS.object.0">DetailViewController</string>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
<string key="NS.key.0">detailViewController</string>
<object class="IBToOneOutletInfo" key="NS.object.0">
<string key="name">detailViewController</string>
<string key="candidateClassName">DetailViewController</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/GenericViewController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">iCPANAppDelegate</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="outlets">
<string key="NS.key.0">window</string>
<string key="NS.object.0">UIWindow</string>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
<string key="NS.key.0">window</string>
<object class="IBToOneOutletInfo" key="NS.object.0">
<string key="name">window</string>
<string key="candidateClassName">UIWindow</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/iCPANAppDelegate.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">iCPANAppDelegate_iPad</string>
<string key="superclassName">iCPANAppDelegate</string>
<dictionary class="NSMutableDictionary" key="outlets">
<string key="detailViewController">DetailViewController</string>
<string key="genericViewController">GenericViewController</string>
<string key="rootViewController">GenericViewController</string>
<string key="splitViewController">UISplitViewController</string>
<string key="window">UIWindow</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
<object class="IBToOneOutletInfo" key="detailViewController">
<string key="name">detailViewController</string>
<string key="candidateClassName">DetailViewController</string>
</object>
<object class="IBToOneOutletInfo" key="genericViewController">
<string key="name">genericViewController</string>
<string key="candidateClassName">GenericViewController</string>
</object>
<object class="IBToOneOutletInfo" key="rootViewController">
<string key="name">rootViewController</string>
<string key="candidateClassName">GenericViewController</string>
</object>
<object class="IBToOneOutletInfo" key="splitViewController">
<string key="name">splitViewController</string>
<string key="candidateClassName">UISplitViewController</string>
</object>
<object class="IBToOneOutletInfo" key="window">
<string key="name">window</string>
<string key="candidateClassName">UIWindow</string>
</object>
</dictionary>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/iCPANAppDelegate_iPad.h</string>
</object>
</object>
</array>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes"/>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
Expand Down

0 comments on commit 12e130a

Please sign in to comment.