Permalink
Browse files

Make the main view a table view

  • Loading branch information...
1 parent 32b0227 commit 7c9e51f04fbeee5334a74d30952877eff5df4fe3 @lukeredpath committed Jun 1, 2010
Showing with 78 additions and 32 deletions.
  1. +1 −1 Classes/LROAuth2DemoViewController.h
  2. +10 −2 LROAuth2Demo.xcodeproj/project.pbxproj
  3. +67 −29 LROAuth2DemoViewController.xib
@@ -8,7 +8,7 @@
#import <UIKit/UIKit.h>
-@interface LROAuth2DemoViewController : UIViewController {
+@interface LROAuth2DemoViewController : UITableViewController {
}
@@ -171,10 +171,9 @@
080E96DDFE201D6D7F000001 /* Classes */ = {
isa = PBXGroup;
children = (
+ A3B6F63311B5509D00533386 /* Controllers */,
1D3623240D0F684500981E51 /* LROAuth2DemoAppDelegate.h */,
1D3623250D0F684500981E51 /* LROAuth2DemoAppDelegate.m */,
- 28D7ACF60DDB3853001CB0EB /* LROAuth2DemoViewController.h */,
- 28D7ACF70DDB3853001CB0EB /* LROAuth2DemoViewController.m */,
);
path = Classes;
sourceTree = "<group>";
@@ -377,6 +376,15 @@
path = Source/JSON;
sourceTree = "<group>";
};
+ A3B6F63311B5509D00533386 /* Controllers */ = {
+ isa = PBXGroup;
+ children = (
+ 28D7ACF60DDB3853001CB0EB /* LROAuth2DemoViewController.h */,
+ 28D7ACF70DDB3853001CB0EB /* LROAuth2DemoViewController.m */,
+ );
+ name = Controllers;
+ sourceTree = "<group>";
+ };
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@@ -1,18 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">800</int>
- <string key="IBDocument.SystemVersion">10C540</string>
- <string key="IBDocument.InterfaceBuilderVersion">760</string>
- <string key="IBDocument.AppKitVersion">1038.25</string>
- <string key="IBDocument.HIToolboxVersion">458.00</string>
+ <string key="IBDocument.SystemVersion">10D2094</string>
+ <string key="IBDocument.InterfaceBuilderVersion">762</string>
+ <string key="IBDocument.AppKitVersion">1038.29</string>
+ <string key="IBDocument.HIToolboxVersion">460.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">82</string>
+ <string key="NS.object.0">87</string>
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="2"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -31,28 +30,29 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBProxyObject" id="841351856">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
</object>
<object class="IBProxyObject" id="606714003">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
</object>
- <object class="IBUIView" id="766721923">
- <reference key="NSNextResponder"/>
+ <object class="IBUITableView" id="806684500">
+ <nil key="NSNextResponder"/>
<int key="NSvFlags">274</int>
- <string key="NSFrameSize">{768, 1004}</string>
- <reference key="NSSuperview"/>
+ <string key="NSFrame">{{488, 20}, {320, 247}}</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
- <object class="NSColorSpace" key="NSCustomColorSpace">
- <int key="NSID">2</int>
- </object>
- </object>
- <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
- <int key="IBUIStatusBarStyle">2</int>
</object>
+ <bool key="IBUIClipsSubviews">YES</bool>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <bool key="IBUIBouncesZoom">NO</bool>
+ <int key="IBUISeparatorStyle">1</int>
+ <int key="IBUISectionIndexMinimumDisplayRowCount">0</int>
+ <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool>
+ <float key="IBUIRowHeight">44</float>
+ <float key="IBUISectionHeaderHeight">22</float>
+ <float key="IBUISectionFooterHeight">22</float>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
@@ -62,9 +62,25 @@
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">view</string>
<reference key="source" ref="841351856"/>
- <reference key="destination" ref="766721923"/>
+ <reference key="destination" ref="806684500"/>
+ </object>
+ <int key="connectionID">5</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="806684500"/>
+ <reference key="destination" ref="841351856"/>
</object>
- <int key="connectionID">3</int>
+ <int key="connectionID">6</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">dataSource</string>
+ <reference key="source" ref="806684500"/>
+ <reference key="destination" ref="841351856"/>
+ </object>
+ <int key="connectionID">7</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
@@ -88,8 +104,8 @@
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">2</int>
- <reference key="object" ref="766721923"/>
+ <int key="objectID">4</int>
+ <reference key="object" ref="806684500"/>
<reference key="parent" ref="0"/>
</object>
</object>
@@ -100,14 +116,12 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>-1.CustomClassName</string>
<string>-2.CustomClassName</string>
- <string>2.IBEditorWindowLastContentRect</string>
- <string>2.IBPluginDependency</string>
+ <string>4.IBPluginDependency</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>LROAuth2DemoViewController</string>
<string>UIResponder</string>
- <string>{{513, 0}, {783, 856}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
</object>
@@ -127,14 +141,14 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">3</int>
+ <int key="maxID">7</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
<string key="className">LROAuth2DemoViewController</string>
- <string key="superclassName">UIViewController</string>
+ <string key="superclassName">UITableViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">Classes/LROAuth2DemoViewController.h</string>
@@ -268,6 +282,14 @@
<reference key="sourceIdentifier" ref="786211723"/>
</object>
<object class="IBPartialClassDescription">
+ <string key="className">UIScrollView</string>
+ <string key="superclassName">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIScrollView.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">UISearchBar</string>
<string key="superclassName">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -284,6 +306,22 @@
</object>
</object>
<object class="IBPartialClassDescription">
+ <string key="className">UITableView</string>
+ <string key="superclassName">UIScrollView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UITableView.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UITableViewController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UITableViewController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
@@ -349,6 +387,6 @@
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<string key="IBDocument.LastKnownRelativeProjectPath">LROAuth2Demo.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
- <string key="IBCocoaTouchPluginVersion">82</string>
+ <string key="IBCocoaTouchPluginVersion">87</string>
</data>
</archive>

0 comments on commit 7c9e51f

Please sign in to comment.