Skip to content
Browse files

Removed unused controllers and views.

  • Loading branch information...
1 parent 9af75be commit cad037d38cdf89a2df04fc3b3cdc43859b539769 @wangbus wangbus committed Oct 3, 2011
View
90 LemonadeAlley.xcodeproj/project.pbxproj
@@ -22,19 +22,13 @@
A32D30311412EACB007C5873 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = A32D302F1412EACB007C5873 /* InfoPlist.strings */; };
A32D30331412EACB007C5873 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = A32D30321412EACB007C5873 /* main.m */; };
A32D30371412EACB007C5873 /* LemonadeAlleyAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = A32D30361412EACB007C5873 /* LemonadeAlleyAppDelegate.m */; };
- A32D303D1412EACB007C5873 /* FirstViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A32D303C1412EACB007C5873 /* FirstViewController.m */; };
- A32D30401412EACB007C5873 /* SecondViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A32D303F1412EACB007C5873 /* SecondViewController.m */; };
- A32D30431412EACB007C5873 /* FirstView.xib in Resources */ = {isa = PBXBuildFile; fileRef = A32D30411412EACB007C5873 /* FirstView.xib */; };
- A32D30461412EACB007C5873 /* SecondView.xib in Resources */ = {isa = PBXBuildFile; fileRef = A32D30441412EACB007C5873 /* SecondView.xib */; };
A32D304E1412EACC007C5873 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A32D304D1412EACC007C5873 /* SenTestingKit.framework */; };
A32D304F1412EACC007C5873 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A32D30261412EACB007C5873 /* UIKit.framework */; };
A32D30501412EACC007C5873 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A32D30281412EACB007C5873 /* Foundation.framework */; };
A32D30511412EACC007C5873 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A32D302A1412EACB007C5873 /* CoreGraphics.framework */; };
A32D30591412EACC007C5873 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = A32D30571412EACC007C5873 /* InfoPlist.strings */; };
A32D305B1412EACC007C5873 /* LemonadeAlleyTests.h in Resources */ = {isa = PBXBuildFile; fileRef = A32D305A1412EACC007C5873 /* LemonadeAlleyTests.h */; };
A32D305D1412EACC007C5873 /* LemonadeAlleyTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A32D305C1412EACC007C5873 /* LemonadeAlleyTests.m */; };
- A333DE711417654500254DA0 /* InfoDetailsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A333DE6F1417654500254DA0 /* InfoDetailsViewController.m */; };
- A333DE721417654500254DA0 /* InfoDetailsView.xib in Resources */ = {isa = PBXBuildFile; fileRef = A333DE701417654500254DA0 /* InfoDetailsView.xib */; };
A36B8BA3141F4426004857B6 /* 18-envelope.png in Resources */ = {isa = PBXBuildFile; fileRef = A36B8BA2141F4426004857B6 /* 18-envelope.png */; };
A36B8BDF141F46E8004857B6 /* GTMNSString+HTML.m in Sources */ = {isa = PBXBuildFile; fileRef = A36B8BDE141F46E8004857B6 /* GTMNSString+HTML.m */; };
A36B8C15141F4795004857B6 /* TableCellDisclosure.m in Sources */ = {isa = PBXBuildFile; fileRef = A36B8BEF141F4795004857B6 /* TableCellDisclosure.m */; };
@@ -55,15 +49,9 @@
A36B8C26141F4795004857B6 /* WordPressPostViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A36B8C12141F4795004857B6 /* WordPressPostViewController.m */; };
A36B8C27141F4795004857B6 /* WPTabBarController.m in Sources */ = {isa = PBXBuildFile; fileRef = A36B8C14141F4795004857B6 /* WPTabBarController.m */; };
A36B8C29141F47B2004857B6 /* default.css in Resources */ = {isa = PBXBuildFile; fileRef = A36B8C28141F47B2004857B6 /* default.css */; };
- A36EC7BD141E30C100752D14 /* InfoTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A36EC7BB141E30C100752D14 /* InfoTableViewController.m */; };
- A36EC7BE141E30C100752D14 /* InfoTableView.xib in Resources */ = {isa = PBXBuildFile; fileRef = A36EC7BC141E30C100752D14 /* InfoTableView.xib */; };
A37166D71418D1A300C9262A /* PhotoSet.m in Sources */ = {isa = PBXBuildFile; fileRef = A37166D61418D1A300C9262A /* PhotoSet.m */; };
- A385002E14179B5F00CFB95D /* PhotoSetViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A385002C14179B5F00CFB95D /* PhotoSetViewController.m */; };
- A385002F14179B5F00CFB95D /* PhotoSetViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A385002D14179B5F00CFB95D /* PhotoSetViewController.xib */; };
- A3A428C61421B4DC008C9E0F /* ContentController.m in Sources */ = {isa = PBXBuildFile; fileRef = A3A428C51421B4DC008C9E0F /* ContentController.m */; };
A3A428E51421B782008C9E0F /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = A3A428E41421B782008C9E0F /* Default.png */; };
- A3ACFCE71421ADAE0045D947 /* TabBarController.m in Sources */ = {isa = PBXBuildFile; fileRef = A3ACFCE61421ADAE0045D947 /* TabBarController.m */; };
- A3ACFCEA1421B32F0045D947 /* MenuController.m in Sources */ = {isa = PBXBuildFile; fileRef = A3ACFCE91421B32F0045D947 /* MenuController.m */; };
+ A3D1ADD6143ABA5C00840A12 /* TabBarController.m in Sources */ = {isa = PBXBuildFile; fileRef = A3D1ADD5143ABA5C00840A12 /* TabBarController.m */; };
A3F2A1121418652F00DADAD0 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A3F2A1111418652E00DADAD0 /* QuartzCore.framework */; };
A3F2A1A61418826600DADAD0 /* Photo.m in Sources */ = {isa = PBXBuildFile; fileRef = A3F2A1A51418826600DADAD0 /* Photo.m */; };
A3F8E3C6143AB6750039904B /* libextThree20JSON+SBJSON.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A3F8E3C1143AB6580039904B /* libextThree20JSON+SBJSON.a */; };
@@ -267,21 +255,12 @@
A32D30341412EACB007C5873 /* LemonadeAlley-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "LemonadeAlley-Prefix.pch"; sourceTree = "<group>"; };
A32D30351412EACB007C5873 /* LemonadeAlleyAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LemonadeAlleyAppDelegate.h; sourceTree = "<group>"; };
A32D30361412EACB007C5873 /* LemonadeAlleyAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LemonadeAlleyAppDelegate.m; sourceTree = "<group>"; };
- A32D303B1412EACB007C5873 /* FirstViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FirstViewController.h; sourceTree = "<group>"; };
- A32D303C1412EACB007C5873 /* FirstViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FirstViewController.m; sourceTree = "<group>"; };
- A32D303E1412EACB007C5873 /* SecondViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SecondViewController.h; sourceTree = "<group>"; };
- A32D303F1412EACB007C5873 /* SecondViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SecondViewController.m; sourceTree = "<group>"; };
- A32D30421412EACB007C5873 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/FirstView.xib; sourceTree = "<group>"; };
- A32D30451412EACB007C5873 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/SecondView.xib; sourceTree = "<group>"; };
A32D304C1412EACC007C5873 /* LemonadeAlleyTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LemonadeAlleyTests.octest; sourceTree = BUILT_PRODUCTS_DIR; };
A32D304D1412EACC007C5873 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
A32D30561412EACC007C5873 /* LemonadeAlleyTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "LemonadeAlleyTests-Info.plist"; sourceTree = "<group>"; };
A32D30581412EACC007C5873 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
A32D305A1412EACC007C5873 /* LemonadeAlleyTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LemonadeAlleyTests.h; sourceTree = "<group>"; };
A32D305C1412EACC007C5873 /* LemonadeAlleyTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LemonadeAlleyTests.m; sourceTree = "<group>"; };
- A333DE6E1417654500254DA0 /* InfoDetailsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InfoDetailsViewController.h; sourceTree = "<group>"; };
- A333DE6F1417654500254DA0 /* InfoDetailsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InfoDetailsViewController.m; sourceTree = "<group>"; };
- A333DE701417654500254DA0 /* InfoDetailsView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = InfoDetailsView.xib; sourceTree = "<group>"; };
A36B8BA2141F4426004857B6 /* 18-envelope.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "18-envelope.png"; sourceTree = "<group>"; };
A36B8BDC141F46E8004857B6 /* GTMDefines.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GTMDefines.h; sourceTree = "<group>"; };
A36B8BDD141F46E8004857B6 /* GTMNSString+HTML.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "GTMNSString+HTML.h"; sourceTree = "<group>"; };
@@ -323,21 +302,11 @@
A36B8C13141F4795004857B6 /* WPTabBarController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WPTabBarController.h; sourceTree = "<group>"; };
A36B8C14141F4795004857B6 /* WPTabBarController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WPTabBarController.m; sourceTree = "<group>"; };
A36B8C28141F47B2004857B6 /* default.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = default.css; sourceTree = "<group>"; };
- A36EC7BA141E30C100752D14 /* InfoTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InfoTableViewController.h; sourceTree = "<group>"; };
- A36EC7BB141E30C100752D14 /* InfoTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InfoTableViewController.m; sourceTree = "<group>"; };
- A36EC7BC141E30C100752D14 /* InfoTableView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = InfoTableView.xib; sourceTree = "<group>"; };
A37166D51418D1A300C9262A /* PhotoSet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PhotoSet.h; sourceTree = "<group>"; };
A37166D61418D1A300C9262A /* PhotoSet.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PhotoSet.m; sourceTree = "<group>"; };
- A385002B14179B5F00CFB95D /* PhotoSetViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PhotoSetViewController.h; sourceTree = "<group>"; };
- A385002C14179B5F00CFB95D /* PhotoSetViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PhotoSetViewController.m; sourceTree = "<group>"; };
- A385002D14179B5F00CFB95D /* PhotoSetViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PhotoSetViewController.xib; sourceTree = "<group>"; };
- A3A428C41421B4DC008C9E0F /* ContentController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ContentController.h; sourceTree = "<group>"; };
- A3A428C51421B4DC008C9E0F /* ContentController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ContentController.m; sourceTree = "<group>"; };
A3A428E41421B782008C9E0F /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
- A3ACFCE51421ADAE0045D947 /* TabBarController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TabBarController.h; sourceTree = "<group>"; };
- A3ACFCE61421ADAE0045D947 /* TabBarController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TabBarController.m; sourceTree = "<group>"; };
- A3ACFCE81421B32F0045D947 /* MenuController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MenuController.h; sourceTree = "<group>"; };
- A3ACFCE91421B32F0045D947 /* MenuController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MenuController.m; sourceTree = "<group>"; };
+ A3D1ADD4143ABA5C00840A12 /* TabBarController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TabBarController.h; sourceTree = "<group>"; };
+ A3D1ADD5143ABA5C00840A12 /* TabBarController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TabBarController.m; sourceTree = "<group>"; };
A3F2A1111418652E00DADAD0 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
A3F2A1A41418826600DADAD0 /* Photo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Photo.h; sourceTree = "<group>"; };
A3F2A1A51418826600DADAD0 /* Photo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Photo.m; sourceTree = "<group>"; };
@@ -540,34 +509,15 @@
A32D30711412F979007C5873 /* ViewControllers */ = {
isa = PBXGroup;
children = (
- A3A428C41421B4DC008C9E0F /* ContentController.h */,
- A3A428C51421B4DC008C9E0F /* ContentController.m */,
- A3ACFCE81421B32F0045D947 /* MenuController.h */,
- A3ACFCE91421B32F0045D947 /* MenuController.m */,
- A3ACFCE51421ADAE0045D947 /* TabBarController.h */,
- A3ACFCE61421ADAE0045D947 /* TabBarController.m */,
- A32D303B1412EACB007C5873 /* FirstViewController.h */,
- A32D303C1412EACB007C5873 /* FirstViewController.m */,
- A32D303E1412EACB007C5873 /* SecondViewController.h */,
- A32D303F1412EACB007C5873 /* SecondViewController.m */,
- A333DE6E1417654500254DA0 /* InfoDetailsViewController.h */,
- A333DE6F1417654500254DA0 /* InfoDetailsViewController.m */,
- A385002B14179B5F00CFB95D /* PhotoSetViewController.h */,
- A385002C14179B5F00CFB95D /* PhotoSetViewController.m */,
- A36EC7BA141E30C100752D14 /* InfoTableViewController.h */,
- A36EC7BB141E30C100752D14 /* InfoTableViewController.m */,
+ A3D1ADD4143ABA5C00840A12 /* TabBarController.h */,
+ A3D1ADD5143ABA5C00840A12 /* TabBarController.m */,
);
name = ViewControllers;
sourceTree = "<group>";
};
A35DD7EB141C483600AD5EBB /* GUI */ = {
isa = PBXGroup;
children = (
- A36EC7BC141E30C100752D14 /* InfoTableView.xib */,
- A333DE701417654500254DA0 /* InfoDetailsView.xib */,
- A385002D14179B5F00CFB95D /* PhotoSetViewController.xib */,
- A32D30411412EACB007C5873 /* FirstView.xib */,
- A32D30441412EACB007C5873 /* SecondView.xib */,
);
name = GUI;
sourceTree = "<group>";
@@ -880,11 +830,6 @@
files = (
320B6C86F11D9990244A9731 /* Three20.bundle in Resources */,
A32D30311412EACB007C5873 /* InfoPlist.strings in Resources */,
- A32D30431412EACB007C5873 /* FirstView.xib in Resources */,
- A32D30461412EACB007C5873 /* SecondView.xib in Resources */,
- A333DE721417654500254DA0 /* InfoDetailsView.xib in Resources */,
- A385002F14179B5F00CFB95D /* PhotoSetViewController.xib in Resources */,
- A36EC7BE141E30C100752D14 /* InfoTableView.xib in Resources */,
A36B8BA3141F4426004857B6 /* 18-envelope.png in Resources */,
A36B8C29141F47B2004857B6 /* default.css in Resources */,
A3A428E51421B782008C9E0F /* Default.png in Resources */,
@@ -925,13 +870,8 @@
files = (
A32D30331412EACB007C5873 /* main.m in Sources */,
A32D30371412EACB007C5873 /* LemonadeAlleyAppDelegate.m in Sources */,
- A32D303D1412EACB007C5873 /* FirstViewController.m in Sources */,
- A32D30401412EACB007C5873 /* SecondViewController.m in Sources */,
- A333DE711417654500254DA0 /* InfoDetailsViewController.m in Sources */,
- A385002E14179B5F00CFB95D /* PhotoSetViewController.m in Sources */,
A3F2A1A61418826600DADAD0 /* Photo.m in Sources */,
A37166D71418D1A300C9262A /* PhotoSet.m in Sources */,
- A36EC7BD141E30C100752D14 /* InfoTableViewController.m in Sources */,
A36B8BDF141F46E8004857B6 /* GTMNSString+HTML.m in Sources */,
A36B8C15141F4795004857B6 /* TableCellDisclosure.m in Sources */,
A36B8C16141F4795004857B6 /* TableItemDisclosure.m in Sources */,
@@ -950,9 +890,7 @@
A36B8C25141F4795004857B6 /* WordPressPostTableCell.m in Sources */,
A36B8C26141F4795004857B6 /* WordPressPostViewController.m in Sources */,
A36B8C27141F4795004857B6 /* WPTabBarController.m in Sources */,
- A3ACFCE71421ADAE0045D947 /* TabBarController.m in Sources */,
- A3ACFCEA1421B32F0045D947 /* MenuController.m in Sources */,
- A3A428C61421B4DC008C9E0F /* ContentController.m in Sources */,
+ A3D1ADD6143ABA5C00840A12 /* TabBarController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1018,22 +956,6 @@
name = InfoPlist.strings;
sourceTree = "<group>";
};
- A32D30411412EACB007C5873 /* FirstView.xib */ = {
- isa = PBXVariantGroup;
- children = (
- A32D30421412EACB007C5873 /* en */,
- );
- name = FirstView.xib;
- sourceTree = "<group>";
- };
- A32D30441412EACB007C5873 /* SecondView.xib */ = {
- isa = PBXVariantGroup;
- children = (
- A32D30451412EACB007C5873 /* en */,
- );
- name = SecondView.xib;
- sourceTree = "<group>";
- };
A32D30571412EACC007C5873 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
View
22,540 ...odeproj/project.xcworkspace/xcuserdata/jianshi.xcuserdatad/UserInterfaceState.xcuserstate
11,623 additions, 10,917 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
20 LemonadeAlley/ContentController.h
@@ -1,20 +0,0 @@
-#import <Three20/Three20.h>
-
-typedef enum {
- ContentTypeNone,
- ContentTypeFood,
- ContentTypeNutrition,
- ContentTypeAbout,
- ContentTypeOrder,
-} ContentType;
-
-@interface ContentController : TTViewController {
- ContentType _contentType;
- NSString* _content;
- NSString* _text;
-}
-
-@property(nonatomic,copy) NSString* content;
-@property(nonatomic,copy) NSString* text;
-
-@end
View
136 LemonadeAlley/ContentController.m
@@ -1,136 +0,0 @@
-#import "ContentController.h"
-
-
-@implementation ContentController
-
-@synthesize content = _content, text = _text;
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// private
-
-- (void)dismiss {
- [self dismissModalViewControllerAnimated:YES];
-}
-
-- (void)orderAction:(NSString*)action {
- TTDINFO(@"ACTION: %@", action);
-}
-
-- (void)showNutrition {
- TTOpenURL([NSString stringWithFormat:@"tt://food/%@/nutrition", self.content]);
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// NSObject
-
-- (id)initWithWaitress:(NSString*)waitress query:(NSDictionary*)query {
- if (self = [super init]) {
- _contentType = ContentTypeOrder;
- self.content = waitress;
- self.text = [NSString stringWithFormat:@"Hi, I'm %@, your imaginary waitress.", waitress];
-
- self.title = @"Place Your Order";
- self.navigationItem.rightBarButtonItem = [[[UIBarButtonItem alloc]
- initWithTitle:@"Order" style:UIBarButtonItemStyleDone
- target:@"tt://order/confirm" action:@selector(openURL)] autorelease];
- self.navigationItem.leftBarButtonItem = [[[UIBarButtonItem alloc]
- initWithTitle:@"Cancel" style:UIBarButtonItemStyleBordered
- target:self action:@selector(dismiss)] autorelease];
-
- TTDINFO(@"ORDER REFERRED FROM %@", [query objectForKey:@"ref"]);
- }
- return self;
-}
-
-- (id)initWithFood:(NSString*)food {
- if (self = [super init]) {
- _contentType = ContentTypeFood;
- self.content = food;
- self.text = [NSString stringWithFormat:@"<b>%@</b> is just food, ya know?", food];
-
- self.title = food;
- self.navigationItem.rightBarButtonItem =
- [[[UIBarButtonItem alloc] initWithTitle:@"Nutrition" style:UIBarButtonItemStyleBordered
- target:self action:@selector(showNutrition)] autorelease];
- }
- return self;
-}
-
-- (id)initWithNutrition:(NSString*)food {
- if (self = [super init]) {
- _contentType = ContentTypeNutrition;
- self.content = food;
- self.text = [NSString stringWithFormat:@"<b>%@</b> is healthy. Trust us.", food];
-
- self.title = @"Nutritional Info";
- }
- return self;
-}
-
-- (id)initWithAbout:(NSString*)about {
- if (self = [super init]) {
- _contentType = ContentTypeAbout;
- self.content = about;
- self.text = [NSString stringWithFormat:@"<b>%@</b> is the name of this page. Exciting.", about];
-
- if ([about isEqualToString:@"story"]) {
- self.title = @"Our Story";
- } else if ([about isEqualToString:@"complaints"]) {
- self.title = @"Complaints Dept.";
- }
- }
- return self;
-}
-
-- (id)init {
- if (self = [super init]) {
- _contentType = ContentTypeNone;
- _content = nil;
- _text = nil;
- }
- return self;
-}
-
-- (void)dealloc {
- TT_RELEASE_SAFELY(_content);
- TT_RELEASE_SAFELY(_text);
- [super dealloc];
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// UIViewController
-
-- (void)loadView {
- [super loadView];
-
- CGRect frame = CGRectMake(10, 10, self.view.width-20, 100);
- TTStyledTextLabel* label = [[[TTStyledTextLabel alloc] initWithFrame:frame] autorelease];
- label.tag = 42;
- label.font = [UIFont systemFontOfSize:22];
- [self.view addSubview:label];
-
- if (_contentType == ContentTypeNutrition) {
- self.view.backgroundColor = [UIColor grayColor];
- label.backgroundColor = self.view.backgroundColor;
- self.hidesBottomBarWhenPushed = YES;
- } else if (_contentType == ContentTypeAbout) {
- self.view.backgroundColor = [UIColor grayColor];
- label.backgroundColor = self.view.backgroundColor;
- } else if (_contentType == ContentTypeOrder) {
- UIButton* button = [UIButton buttonWithType:UIButtonTypeRoundedRect];
- [button setTitle:@"What do you want to eat?" forState:UIControlStateNormal];
- [button addTarget:@"tt://order/food" action:@selector(openURLFromButton:)
- forControlEvents:UIControlEventTouchUpInside];
- [button sizeToFit];
- button.top = label.bottom + 20;
- button.left = floor(self.view.width/2 - button.width/2);
- [self.view addSubview:button];
- }
-}
-
-- (void)viewWillAppear:(BOOL)animated {
- TTStyledTextLabel* label = (TTStyledTextLabel*)[self.view viewWithTag:42];
- label.html = _text;
-}
-
-@end
View
13 LemonadeAlley/FirstViewController.h
@@ -1,13 +0,0 @@
-//
-// FirstViewController.h
-// LemonadeAlley
-//
-// Created by James Wang on 9/3/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface FirstViewController : UIViewController
-
-@end
View
43 LemonadeAlley/FirstViewController.m
@@ -1,43 +0,0 @@
-//
-// FirstViewController.m
-// LemonadeAlley
-//
-// Created by James Wang on 9/3/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
-//
-
-#import "FirstViewController.h"
-
-@implementation FirstViewController
-
-/*
-// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
-- (void)viewDidLoad
-{
- [super viewDidLoad];
-}
-*/
-
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
-{
- // Return YES for supported orientations
- return (interfaceOrientation == UIInterfaceOrientationPortrait);
-}
-
-- (void)didReceiveMemoryWarning
-{
- // Releases the view if it doesn't have a superview.
- [super didReceiveMemoryWarning];
-
- // Release any cached data, images, etc. that aren't in use.
-}
-
-- (void)viewDidUnload
-{
- [super viewDidUnload];
-
- // Release any retained subviews of the main view.
- // e.g. self.myOutlet = nil;
-}
-
-@end
View
187 LemonadeAlley/InfoDetailsView.xib
@@ -1,187 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
- <data>
- <int key="IBDocument.SystemTarget">1056</int>
- <string key="IBDocument.SystemVersion">11B26</string>
- <string key="IBDocument.InterfaceBuilderVersion">1617</string>
- <string key="IBDocument.AppKitVersion">1138</string>
- <string key="IBDocument.HIToolboxVersion">566.00</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
- <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">534</string>
- </object>
- <object class="NSArray" key="IBDocument.IntegratedClassDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>IBProxyObject</string>
- <string>IBUIView</string>
- <string>IBUIWebView</string>
- </object>
- <object class="NSArray" key="IBDocument.PluginDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- </object>
- <object class="NSMutableDictionary" key="IBDocument.Metadata">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys" id="0">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <reference key="dict.values" ref="0"/>
- </object>
- <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBProxyObject" id="372490531">
- <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- <object class="IBProxyObject" id="975951072">
- <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- <object class="IBUIView" id="191373211">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">274</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBUIWebView" id="761945723">
- <reference key="NSNextResponder" ref="191373211"/>
- <int key="NSvFlags">274</int>
- <string key="NSFrameSize">{320, 367}</string>
- <reference key="NSSuperview" ref="191373211"/>
- <reference key="NSNextKeyView"/>
- <string key="NSReuseIdentifierKey">_NS:667</string>
- <object class="NSColor" key="IBUIBackgroundColor">
- <int key="NSColorSpace">1</int>
- <bytes key="NSRGB">MSAxIDEAA</bytes>
- </object>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <int key="IBUIDataDetectorTypes">1</int>
- <bool key="IBUIDetectsPhoneNumbers">YES</bool>
- </object>
- </object>
- <string key="NSFrame">{{0, 64}, {320, 367}}</string>
- <reference key="NSSuperview"/>
- <reference key="NSNextKeyView" ref="761945723"/>
- <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">1</int>
- </object>
- <object class="IBUISimulatedNavigationBarMetrics" key="IBUISimulatedTopBarMetrics">
- <bool key="IBUIPrompted">NO</bool>
- </object>
- <object class="IBUISimulatedTabBarMetrics" key="IBUISimulatedBottomBarMetrics"/>
- <object class="IBUIAccessibilityConfiguration" key="IBUIAccessibilityConfiguration">
- <string key="IBUIAccessibilityLabel"/>
- <boolean value="NO" key="IBUIIsAccessibilityElement"/>
- </object>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- </object>
- <object class="IBObjectContainer" key="IBDocument.Objects">
- <object class="NSMutableArray" key="connectionRecords">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBConnectionRecord">
- <object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">view</string>
- <reference key="source" ref="372490531"/>
- <reference key="destination" ref="191373211"/>
- </object>
- <int key="connectionID">3</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">webView</string>
- <reference key="source" ref="372490531"/>
- <reference key="destination" ref="761945723"/>
- </object>
- <int key="connectionID">64</int>
- </object>
- </object>
- <object class="IBMutableOrderedSet" key="objectRecords">
- <object class="NSArray" key="orderedObjects">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBObjectRecord">
- <int key="objectID">0</int>
- <reference key="object" ref="0"/>
- <reference key="children" ref="1000"/>
- <nil key="parent"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-1</int>
- <reference key="object" ref="372490531"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">File's Owner</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-2</int>
- <reference key="object" ref="975951072"/>
- <reference key="parent" ref="0"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1</int>
- <reference key="object" ref="191373211"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="761945723"/>
- </object>
- <reference key="parent" ref="0"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">63</int>
- <reference key="object" ref="761945723"/>
- <reference key="parent" ref="191373211"/>
- </object>
- </object>
- </object>
- <object class="NSMutableDictionary" key="flattenedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>-1.CustomClassName</string>
- <string>-1.IBPluginDependency</string>
- <string>-2.CustomClassName</string>
- <string>-2.IBPluginDependency</string>
- <string>1.IBPluginDependency</string>
- <string>63.IBPluginDependency</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>InfoDetailsViewController</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>UIResponder</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- </object>
- </object>
- <object class="NSMutableDictionary" key="unlocalizedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference key="dict.sortedKeys" ref="0"/>
- <reference key="dict.values" ref="0"/>
- </object>
- <nil key="activeLocalization"/>
- <object class="NSMutableDictionary" key="localizations">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference key="dict.sortedKeys" ref="0"/>
- <reference key="dict.values" ref="0"/>
- </object>
- <nil key="sourceID"/>
- <int key="maxID">64</int>
- </object>
- <object class="IBClassDescriber" key="IBDocument.Classes"/>
- <int key="IBDocument.localizationMode">0</int>
- <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
- <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
- <integer value="3000" key="NS.object.0"/>
- </object>
- <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
- <string key="IBCocoaTouchPluginVersion">534</string>
- </data>
-</archive>
View
18 LemonadeAlley/InfoDetailsViewController.h
@@ -1,18 +0,0 @@
-//
-// EventInfoViewController.h
-// LemonadeAlley
-//
-// Created by James Wang on 9/6/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-#import "PhotoSetViewController.h"
-
-@interface InfoDetailsViewController : UIViewController {
- IBOutlet UIWebView *webView;
-}
-
-@property (nonatomic, assign) NSURL *url;
-
-@end
View
78 LemonadeAlley/InfoDetailsViewController.m
@@ -1,78 +0,0 @@
-//
-// EventInfoViewController.m
-// LemonadeAlley
-//
-// Created by James Wang on 9/6/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
-//
-
-#import "InfoDetailsViewController.h"
-
-@implementation InfoDetailsViewController
-@synthesize url;
-
-//- (IBAction)drillDown:(id)sender
-//{
-// NSLog(@"Details");
-// PhotoSetViewController *dvc = [[PhotoSetViewController alloc] init];
-// dvc.title = @"Details";
-//
-// [self.navigationController pushViewController:dvc animated:YES];
-// [dvc release];
-//}
-
-- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
-{
- self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
- if (self) {
- // Custom initialization
- }
- return self;
-}
-
-- (void)didReceiveMemoryWarning
-{
- // Releases the view if it doesn't have a superview.
- [super didReceiveMemoryWarning];
-
- // Release any cached data, images, etc that aren't in use.
-}
-
-#pragma mark - View lifecycle
-
-- (void)viewWillAppear:(BOOL)animated {
- // to fix the controller showing under the status bar
- self.view.frame = [[UIScreen mainScreen] applicationFrame];
-}
-
-- (void)viewDidLoad
-{
- [super viewDidLoad];
- // Do any additional setup after loading the view from its nib.
-// NSString *urlAddress = @"http://www.google.com";
-// NSURL *url = [NSURL URLWithString:urlAddress];
-
- NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
- [webView loadRequest:requestObj];
-}
-
-- (void)viewDidUnload
-{
- [webView release];
- webView = nil;
- [super viewDidUnload];
- // Release any retained subviews of the main view.
- // e.g. self.myOutlet = nil;
-}
-
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
-{
- // Return YES for supported orientations
- return (interfaceOrientation == UIInterfaceOrientationPortrait);
-}
-
-- (void)dealloc {
- [webView release];
- [super dealloc];
-}
-@end
View
203 LemonadeAlley/InfoTableView.xib
@@ -1,203 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
- <data>
- <int key="IBDocument.SystemTarget">1056</int>
- <string key="IBDocument.SystemVersion">11B26</string>
- <string key="IBDocument.InterfaceBuilderVersion">1617</string>
- <string key="IBDocument.AppKitVersion">1138</string>
- <string key="IBDocument.HIToolboxVersion">566.00</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
- <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">534</string>
- </object>
- <object class="NSArray" key="IBDocument.IntegratedClassDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>IBProxyObject</string>
- <string>IBUITableView</string>
- </object>
- <object class="NSArray" key="IBDocument.PluginDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- </object>
- <object class="NSMutableDictionary" key="IBDocument.Metadata">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys" id="0">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <reference key="dict.values" ref="0"/>
- </object>
- <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBProxyObject" id="372490531">
- <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- <object class="IBProxyObject" id="975951072">
- <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- <object class="IBUITableView" id="873029372">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">274</int>
- <string key="NSFrame">{{0, 20}, {320, 460}}</string>
- <reference key="NSSuperview"/>
- <reference key="NSWindow"/>
- <object class="NSColor" key="IBUIBackgroundColor">
- <int key="NSColorSpace">10</int>
- <object class="NSImage" key="NSImage">
- <int key="NSImageFlags">549453824</int>
- <string key="NSSize">{84, 1}</string>
- <object class="NSMutableArray" key="NSReps">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="0"/>
- <object class="NSBitmapImageRep">
- <object class="NSData" key="NSTIFFRepresentation">
- <bytes key="NS.bytes">TU0AKgAAAVjFzNT/xczU/8XM1P/FzNT/xczS/8vS2P/L0tj/xczU/8XM1P/FzNT/xczU/8XM0v/L0tj/
-y9LY/8XM1P/FzNT/xczU/8XM1P/FzNL/y9LY/8vS2P/FzNT/xczU/8XM1P/FzNT/xczS/8vS2P/L0tj/
-xczU/8XM1P/FzNT/xczU/8XM0v/L0tj/y9LY/8XM1P/FzNT/xczU/8XM1P/FzNL/y9LY/8vS2P/FzNT/
-xczU/8XM1P/FzNT/xczS/8vS2P/L0tj/xczU/8XM1P/FzNT/xczU/8XM0v/L0tj/y9LY/8XM1P/FzNT/
-xczU/8XM1P/FzNL/y9LY/8vS2P/FzNT/xczU/8XM1P/FzNT/xczS/8vS2P/L0tj/xczU/8XM1P/FzNT/
-xczU/8XM0v/L0tj/y9LY/8XM1P/FzNT/xczU/8XM1P/FzNL/y9LY/8vS2P8ADQEAAAMAAAABAFQAAAEB
-AAMAAAABAAEAAAECAAMAAAAEAAAB+gEDAAMAAAABAAEAAAEGAAMAAAABAAIAAAERAAQAAAABAAAACAES
-AAMAAAABAAEAAAEVAAMAAAABAAQAAAEWAAMAAAABAAEAAAEXAAQAAAABAAABUAEcAAMAAAABAAEAAAFS
-AAMAAAABAAEAAAFTAAMAAAAEAAACAgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
- </object>
- </object>
- </object>
- </object>
- <object class="NSColor" key="NSColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MCAwAA</bytes>
- </object>
- </object>
- <string key="IBUIColorCocoaTouchKeyPath">groupTableViewBackgroundColor</string>
- </object>
- <bool key="IBUIOpaque">NO</bool>
- <bool key="IBUIClipsSubviews">YES</bool>
- <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
- <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <bool key="IBUIBouncesZoom">NO</bool>
- <int key="IBUIStyle">1</int>
- <int key="IBUISeparatorStyle">2</int>
- <int key="IBUISectionIndexMinimumDisplayRowCount">0</int>
- <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool>
- <float key="IBUIRowHeight">44</float>
- <float key="IBUISectionHeaderHeight">10</float>
- <float key="IBUISectionFooterHeight">10</float>
- </object>
- </object>
- <object class="IBObjectContainer" key="IBDocument.Objects">
- <object class="NSMutableArray" key="connectionRecords">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBConnectionRecord">
- <object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">view</string>
- <reference key="source" ref="372490531"/>
- <reference key="destination" ref="873029372"/>
- </object>
- <int key="connectionID">5</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">dataSource</string>
- <reference key="source" ref="873029372"/>
- <reference key="destination" ref="372490531"/>
- </object>
- <int key="connectionID">6</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">delegate</string>
- <reference key="source" ref="873029372"/>
- <reference key="destination" ref="372490531"/>
- </object>
- <int key="connectionID">7</int>
- </object>
- </object>
- <object class="IBMutableOrderedSet" key="objectRecords">
- <object class="NSArray" key="orderedObjects">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBObjectRecord">
- <int key="objectID">0</int>
- <reference key="object" ref="0"/>
- <reference key="children" ref="1000"/>
- <nil key="parent"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-1</int>
- <reference key="object" ref="372490531"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">File's Owner</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-2</int>
- <reference key="object" ref="975951072"/>
- <reference key="parent" ref="0"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">4</int>
- <reference key="object" ref="873029372"/>
- <reference key="parent" ref="0"/>
- </object>
- </object>
- </object>
- <object class="NSMutableDictionary" key="flattenedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>-1.CustomClassName</string>
- <string>-1.IBPluginDependency</string>
- <string>-2.CustomClassName</string>
- <string>-2.IBPluginDependency</string>
- <string>4.IBPluginDependency</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>InfoTableViewController</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>UIResponder</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- </object>
- </object>
- <object class="NSMutableDictionary" key="unlocalizedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference key="dict.sortedKeys" ref="0"/>
- <reference key="dict.values" ref="0"/>
- </object>
- <nil key="activeLocalization"/>
- <object class="NSMutableDictionary" key="localizations">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference key="dict.sortedKeys" ref="0"/>
- <reference key="dict.values" ref="0"/>
- </object>
- <nil key="sourceID"/>
- <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">InfoTableViewController</string>
- <string key="superclassName">UITableViewController</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/InfoTableViewController.h</string>
- </object>
- </object>
- </object>
- </object>
- <int key="IBDocument.localizationMode">0</int>
- <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
- <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
- <integer value="3000" key="NS.object.0"/>
- </object>
- <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
- <string key="IBCocoaTouchPluginVersion">534</string>
- </data>
-</archive>
View
17 LemonadeAlley/InfoTableViewController.h
@@ -1,17 +0,0 @@
-//
-// InfoTableViewController.h
-// LemonadeAlley
-//
-// Created by James Wang on 9/12/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface InfoTableViewController : UITableViewController {
- NSArray *topics;
-}
-
-@property (nonatomic, retain) NSArray *topics;
-
-@end
View
210 LemonadeAlley/InfoTableViewController.m
@@ -1,210 +0,0 @@
-//
-// InfoTableViewController.m
-// LemonadeAlley
-//
-// Created by James Wang on 9/12/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
-//
-
-#import "InfoTableViewController.h"
-#import "InfoDetailsViewController.h"
-//#import "WordPressBlogViewController.h"
-
-@implementation InfoTableViewController
-@synthesize topics;
-
-- (id)initWithStyle:(UITableViewStyle)style
-{
- self = [super initWithStyle:style];
- if (self) {
- // Custom initialization
- }
- return self;
-}
-
-- (void)didReceiveMemoryWarning
-{
- // Releases the view if it doesn't have a superview.
- [super didReceiveMemoryWarning];
-
- // Release any cached data, images, etc that aren't in use.
-}
-
-#pragma mark - View lifecycle
-
-- (void)viewDidLoad
-{
- [super viewDidLoad];
-
- self.topics = [NSArray
- arrayWithObjects: @"About", @"Compete", @"Craft Fair", @"Sponsorship", @"Contact", nil];
- // Uncomment the following line to preserve selection between presentations.
- // self.clearsSelectionOnViewWillAppear = NO;
-
- // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
- // self.navigationItem.rightBarButtonItem = self.editButtonItem;
- NSLog(@"loaded table");
-
- self.navigationController.title = @"Testing";
-}
-
-- (void)viewDidUnload
-{
- [super viewDidUnload];
- // Release any retained subviews of the main view.
- // e.g. self.myOutlet = nil;
-}
-
-- (void)viewWillAppear:(BOOL)animated
-{
- [super viewWillAppear:animated];
-}
-
-- (void)viewDidAppear:(BOOL)animated
-{
- [super viewDidAppear:animated];
-}
-
-- (void)viewWillDisappear:(BOOL)animated
-{
- [super viewWillDisappear:animated];
-}
-
-- (void)viewDidDisappear:(BOOL)animated
-{
- [super viewDidDisappear:animated];
-}
-
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
-{
- // Return YES for supported orientations
- return (interfaceOrientation == UIInterfaceOrientationPortrait);
-}
-
-#pragma mark - Table view data source
-
-- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
- // Number of sections is the number of regions.
- // return regions count];
- return 1;
-}
-
-
-- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
- // Number of rows is the number of time zones in the region for the specified section.
- // Region *region = [regions objectAtIndex:section];
- // return [region.timeZoneWrappers count];
- return [self.topics count];
-}
-
-
-- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {
- // The header for the section is the region name -- get this from the region at the section index.
- // Region *region = [regions objectAtIndex:section];
- // return [region name];
- return [self.topics objectAtIndex:section];
-}
-
-
-- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
-
- static NSString *MyIdentifier = @"MyIdentifier";
-
- UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];
- if (cell == nil) {
- cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:MyIdentifier] autorelease];
- }
-
- // Get the section index, and so the region for that section.
- // Region *region = [regions objectAtIndex:indexPath.section];
- // TimeZoneWrapper *timeZoneWrapper = [region.timeZoneWrappers objectAtIndex:indexPath.row];
- //
- // Set the cell's text to the name of the time zone at the row
- // cell.textLabel.text = timeZoneWrapper.localeName;
- cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
- cell.textLabel.text = [self.topics objectAtIndex:[indexPath row]];
- return cell;
-}
-
-/*
-// Override to support conditional editing of the table view.
-- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath
-{
- // Return NO if you do not want the specified item to be editable.
- return YES;
-}
-*/
-
-/*
-// Override to support editing the table view.
-- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
-{
- if (editingStyle == UITableViewCellEditingStyleDelete) {
- // Delete the row from the data source
- [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
- }
- else if (editingStyle == UITableViewCellEditingStyleInsert) {
- // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
- }
-}
-*/
-
-/*
-// Override to support rearranging the table view.
-- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath
-{
-}
-*/
-
-/*
-// Override to support conditional rearranging of the table view.
-- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath
-{
- // Return NO if you do not want the item to be re-orderable.
- return YES;
-}
-*/
-
-#pragma mark - Table view delegate
-
-- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
-{
- UITableViewCell *selectedCell = [tableView cellForRowAtIndexPath:indexPath];
- NSString *cellText = selectedCell.textLabel.text;
- NSURL *url;
- if ([cellText isEqualToString:@"About"]) {
- url = [NSURL URLWithString:@"http://lemonadealley.com/about/"];
-// url = [NSURL URLWithString:@"http://hicapacity.org/resources/"];
- }
- else if ([cellText isEqualToString:@"Compete"]) {
- url = [NSURL URLWithString:@"http://lemonadealley.com/competition/"];
- }
- else if ([cellText isEqualToString:@"Craft Fair"]) {
- url = [NSURL URLWithString:@"http://lemonadealley.com/craft-fair/"];
- }
- else if ([cellText isEqualToString:@"Sponsorship"]) {
- url = [NSURL URLWithString:@"http://lemonadealley.com/sponsors/"];
- }
- else if ([cellText isEqualToString:@"Contact"]) {
- url = [NSURL URLWithString:@"http://lemonadealley.com/contact/"];
- }
-
- // Navigation logic may go here. Create and push another view controller.
- /*
- <#DetailViewController#> *detailViewController = [[<#DetailViewController#> alloc] initWithNibName:@"<#Nib name#>" bundle:nil];
- // ...
- // Pass the selected object to the new view controller.
- [self.navigationController pushViewController:detailViewController animated:YES];
- [detailViewController release];
- */
- InfoDetailsViewController *detailsViewController = [[InfoDetailsViewController alloc] init];
-// WordPressBlogViewController *detailsViewController = [[WordPressBlogViewController alloc] init];
-// detailViewController.url = url;
-
- // ...
- // Pass the selected object to the new view controller.
- [self.navigationController pushViewController:detailsViewController animated:YES];
- [detailsViewController release];
-}
-
-@end
View
40 LemonadeAlley/LemonadeAlleyAppDelegate.m
@@ -12,68 +12,28 @@
#import "WordPressBlogViewController.h"
#import "WordPressAddCommentViewController.h"
#import "TabBarController.h"
-#import "MenuController.h"
-#import "ContentController.h"
@implementation LemonadeAlleyAppDelegate
//@synthesize window = _window;
//@synthesize tabBarController = _tabBarController;
//@synthesize splashScreen;
- (void)applicationDidFinishLaunching:(UIApplication*)application {
- // Override point for customization after application launch.
- // Add the tab bar controller's current view as a subview of the window
-// self.window.rootViewController = self.tabBarController;
-// [self.window addSubview:self.tabBarController.view];
-
-// self.splashScreen.showsStatusBarOnDismissal = YES;
-// self.splashScreen.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
-
-// self.tabBarController.delegate = self;
-// [self.tabBarController presentModalViewController:splashScreen animated:NO];
-
-
TTNavigator* navigator = [TTNavigator navigator];
navigator.persistenceMode = TTNavigatorPersistenceModeAll;
navigator.window = [[[UIWindow alloc] initWithFrame:TTScreenBounds()] autorelease];
TTURLMap* map = navigator.URLMap;
-
[map from:@"*" toViewController:[TTWebController class]];
[map from:@"tt://tabBar" toSharedViewController:[TabBarController class]];
[map from:@"tt://wp" toSharedViewController:[WordPressBlogViewController class]];
- [map from:@"tt://menu/(initWithMenu:)" toSharedViewController:[MenuController class]];
-
- [map from:@"tt://food/(initWithFood:)" toViewController:[ContentController class]];
- [map from:@"tt://about/(initWithAbout:)" parent:@"tt://menu/5"
-toViewController:[ContentController class] selector:nil transition:0];
-
- [map from:@"tt://food/(initWithNutrition:)/nutrition" toViewController:[ContentController class]
- transition:UIViewAnimationTransitionFlipFromLeft];
-
- // The ordering controller will appear as a modal view controller, animated from bottom to top
- [map from:@"tt://order?waitress=(initWithWaitress:)"
-toModalViewController:[ContentController class]];
-
- [map from:@"tt://order?waitress=()#(orderAction:)" toViewController:[ContentController class]];
-
-
- [map from:@"tt://order/food" toViewController:[TTPostController class]];
-
-
- [map from:@"tt://order/confirm" toViewController:self selector:@selector(confirmOrder)];
-
-
- [map from:@"tt://order/send" toObject:self selector:@selector(sendOrder)];
-
// Before opening the tab bar, we see if the controller history was persisted the last time
if (![navigator restoreViewControllers]) {
// This is the first launch, so we just start with the tab bar
[navigator openURLAction:[TTURLAction actionWithURLPath:@"tt://tabBar"]];
}
-// [self.window makeKeyAndVisible];
}
- (BOOL)application:(UIApplication*)application handleOpenURL:(NSURL*)URL {
View
18 LemonadeAlley/MenuController.h
@@ -1,18 +0,0 @@
-#import <Three20/Three20.h>
-
-typedef enum {
- MenuPageNone,
- MenuPageBreakfast,
- MenuPageLunch,
- MenuPageDinner,
- MenuPageDessert,
- MenuPageAbout,
-} MenuPage;
-
-@interface MenuController : TTTableViewController {
- MenuPage _page;
-}
-
-@property(nonatomic) MenuPage page;
-
-@end
View
130 LemonadeAlley/MenuController.m
@@ -1,130 +0,0 @@
-#import "MenuController.h"
-
-@implementation MenuController
-
-@synthesize page = _page;
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// private
-
-- (NSString*)nameForMenuPage:(MenuPage)page {
- switch (page) {
- case MenuPageBreakfast:
- return @"Breakfast";
- case MenuPageLunch:
- return @"Lunch";
- case MenuPageDinner:
- return @"Dinner";
- case MenuPageDessert:
- return @"Dessert";
- case MenuPageAbout:
- return @"About";
- default:
- return @"";
- }
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// NSObject
-
-- (id)initWithMenu:(MenuPage)page {
- if (self = [super init]) {
- self.page = page;
- }
- return self;
-}
-
-- (id)init {
- if (self = [super init]) {
- _page = MenuPageNone;
- }
- return self;
-}
-
-- (void)dealloc {
- [super dealloc];
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// TTViewController
-
-- (void)setPage:(MenuPage)page {
- _page = page;
-
- self.title = [self nameForMenuPage:page];
-
- UIImage* image = [UIImage imageNamed:@"tab.png"];
- self.tabBarItem = [[[UITabBarItem alloc] initWithTitle:self.title image:image tag:0] autorelease];
-
- self.navigationItem.rightBarButtonItem =
- [[[UIBarButtonItem alloc] initWithTitle:@"Order" style:UIBarButtonItemStyleBordered
- target:@"tt://order?waitress=Betty&ref=toolbar"
- action:@selector(openURLFromButton:)] autorelease];
-
- if (_page == MenuPageBreakfast) {
- self.dataSource = [TTSectionedDataSource dataSourceWithObjects:
- @"Food",
- [TTTableTextItem itemWithText:@"Porridge" URL:@"tt://food/porridge"],
- [TTTableTextItem itemWithText:@"Bacon & Eggs" URL:@"tt://food/baconeggs"],
- [TTTableTextItem itemWithText:@"French Toast" URL:@"tt://food/frenchtoast"],
- @"Drinks",
- [TTTableTextItem itemWithText:@"Coffee" URL:@"tt://food/coffee"],
- [TTTableTextItem itemWithText:@"Orange Juice" URL:@"tt://food/oj"],
- @"Other",
- [TTTableTextItem itemWithText:@"Just Desserts" URL:@"tt://menu/4"],
- [TTTableTextItem itemWithText:@"Complaints" URL:@"tt://about/complaints"],
- nil];
- } else if (_page == MenuPageLunch) {
- self.dataSource = [TTSectionedDataSource dataSourceWithObjects:
- @"Menu",
- [TTTableTextItem itemWithText:@"Mac & Cheese" URL:@"tt://food/macncheese"],
- [TTTableTextItem itemWithText:@"Ham Sandwich" URL:@"tt://food/hamsam"],
- [TTTableTextItem itemWithText:@"Salad" URL:@"tt://food/salad"],
- @"Drinks",
- [TTTableTextItem itemWithText:@"Coke" URL:@"tt://food/coke"],
- [TTTableTextItem itemWithText:@"Sprite" URL:@"tt://food/sprite"],
- @"Other",
- [TTTableTextItem itemWithText:@"Just Desserts" URL:@"tt://menu/4"],
- [TTTableTextItem itemWithText:@"Complaints" URL:@"tt://about/complaints"],
- nil];
- } else if (_page == MenuPageDinner) {
- self.dataSource = [TTSectionedDataSource dataSourceWithObjects:
- @"Appetizers",
- [TTTableTextItem itemWithText:@"Potstickers" URL:@"tt://food/potstickers"],
- [TTTableTextItem itemWithText:@"Egg Rolls" URL:@"tt://food/eggrolls"],
- [TTTableTextItem itemWithText:@"Buffalo Wings" URL:@"tt://food/wings"],
- @"Entrees",
- [TTTableTextItem itemWithText:@"Steak" URL:@"tt://food/steak"],
- [TTTableTextItem itemWithText:@"Chicken Marsala" URL:@"tt://food/marsala"],
- [TTTableTextItem itemWithText:@"Cobb Salad" URL:@"tt://food/cobbsalad"],
- [TTTableTextItem itemWithText:@"Green Salad" URL:@"tt://food/greensalad"],
- @"Drinks",
- [TTTableTextItem itemWithText:@"Red Wine" URL:@"tt://food/redwine"],
- [TTTableTextItem itemWithText:@"White Wine" URL:@"tt://food/whitewhine"],
- [TTTableTextItem itemWithText:@"Beer" URL:@"tt://food/beer"],
- [TTTableTextItem itemWithText:@"Coke" URL:@"tt://food/coke"],
- [TTTableTextItem itemWithText:@"Sparkling Water" URL:@"tt://food/coke"],
- @"Other",
- [TTTableTextItem itemWithText:@"Just Desserts" URL:@"tt://menu/4"],
- [TTTableTextItem itemWithText:@"Complaints" URL:@"tt://about/complaints"],
- nil];
- } else if (_page == MenuPageDessert) {
- self.dataSource = [TTSectionedDataSource dataSourceWithObjects:
- @"Yum",
- [TTTableTextItem itemWithText:@"Chocolate Cake" URL:@"tt://food/cake"],
- [TTTableTextItem itemWithText:@"Apple Pie" URL:@"tt://food/pie"],
- @"Other",
- [TTTableTextItem itemWithText:@"Complaints" URL:@"tt://about/complaints"],
- nil];
- } else if (_page == MenuPageAbout) {
- self.dataSource = [TTListDataSource dataSourceWithObjects:
- [TTTableTextItem itemWithText:@"Our Story" URL:@"tt://about/story"],
- [TTTableTextItem itemWithText:@"Call Us" URL:@"tel:5555555"],
- [TTTableTextItem itemWithText:@"Text Us" URL:@"sms:5555555"],
- [TTTableTextItem itemWithText:@"Website" URL:@"http://www.melsdrive-in.com"],
- [TTTableTextItem itemWithText:@"Complaints Dept." URL:@"tt://about/complaints"],
- nil];
- }
-}
-
-@end
View
19 LemonadeAlley/PhotoSetViewController.h
@@ -1,19 +0,0 @@
-//
-// DetailsViewController.h
-// LemonadeAlley
-//
-// Created by James Wang on 9/7/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-#import "Three20/Three20.h"
-@class PhotoSet;
-
-@interface PhotoSetViewController : TTPhotoViewController {
- PhotoSet *_photoSet;
-}
-
-@property (nonatomic, retain) PhotoSet *photoSet;
-
-@end
View
59 LemonadeAlley/PhotoSetViewController.m
@@ -1,59 +0,0 @@
-//
-// DetailsViewController.m
-// LemonadeAlley
-//
-// Created by James Wang on 9/7/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
-//
-
-#import "PhotoSetViewController.h"
-#import "PhotoSet.h"
-
-@implementation PhotoSetViewController
-@synthesize photoSet = _photoSet;
-
-- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
-{
- self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
- if (self) {
- // Custom initialization
- }
- return self;
-}
-
-- (void)didReceiveMemoryWarning
-{
- // Releases the view if it doesn't have a superview.
- [super didReceiveMemoryWarning];
-
- // Release any cached data, images, etc that aren't in use.
-}
-
-#pragma mark - View lifecycle
-
-- (void)viewDidLoad
-{
- [super viewDidLoad];
- // Do any additional setup after loading the view from its nib.
- self.photoSource = [PhotoSet samplePhotoSet];
-}
-
-- (void)viewDidUnload
-{
- [super viewDidUnload];
- // Release any retained subviews of the main view.
- // e.g. self.myOutlet = nil;
-}
-
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
-{
- // Return YES for supported orientations
- return (interfaceOrientation == UIInterfaceOrientationPortrait);
-}
-
-- (void) dealloc {
- self.photoSet = nil;
- [super dealloc];
-}
-
-@end
View
157 LemonadeAlley/PhotoSetViewController.xib
@@ -1,157 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
- <data>
- <int key="IBDocument.SystemTarget">1056</int>
- <string key="IBDocument.SystemVersion">11B26</string>
- <string key="IBDocument.InterfaceBuilderVersion">907</string>
- <string key="IBDocument.AppKitVersion">1138</string>
- <string key="IBDocument.HIToolboxVersion">566.00</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
- <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">141</string>
- </object>
- <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <object class="NSArray" key="IBDocument.PluginDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- </object>
- <object class="NSMutableDictionary" key="IBDocument.Metadata">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys" id="0">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- </object>
- <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBProxyObject" id="372490531">
- <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- <object class="IBProxyObject" id="975951072">
- <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- <object class="IBUIView" id="191373211">
- <nil key="NSNextResponder"/>
- <int key="NSvFlags">274</int>
- <string key="NSFrame">{{0, 20}, {320, 460}}</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"/>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- </object>
- <object class="IBObjectContainer" key="IBDocument.Objects">
- <object class="NSMutableArray" key="connectionRecords">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBConnectionRecord">
- <object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">view</string>
- <reference key="source" ref="372490531"/>
- <reference key="destination" ref="191373211"/>
- </object>
- <int key="connectionID">3</int>
- </object>
- </object>
- <object class="IBMutableOrderedSet" key="objectRecords">
- <object class="NSArray" key="orderedObjects">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBObjectRecord">
- <int key="objectID">0</int>
- <reference key="object" ref="0"/>
- <reference key="children" ref="1000"/>
- <nil key="parent"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1</int>
- <reference key="object" ref="191373211"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <reference key="parent" ref="0"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-1</int>
- <reference key="object" ref="372490531"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">File's Owner</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-2</int>
- <reference key="object" ref="975951072"/>
- <reference key="parent" ref="0"/>
- </object>
- </object>
- </object>
- <object class="NSMutableDictionary" key="flattenedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>-1.CustomClassName</string>
- <string>-1.IBPluginDependency</string>
- <string>-2.CustomClassName</string>
- <string>-2.IBPluginDependency</string>
- <string>1.IBPluginDependency</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>PhotoSetViewController</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>UIResponder</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- </object>
- </object>
- <object class="NSMutableDictionary" key="unlocalizedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference key="dict.sortedKeys" ref="0"/>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- </object>
- <nil key="activeLocalization"/>
- <object class="NSMutableDictionary" key="localizations">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference key="dict.sortedKeys" ref="0"/>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- </object>
- <nil key="sourceID"/>
- <int key="maxID">9</int>
- </object>
- <object class="IBClassDescriber" key="IBDocument.Classes">
- <object class="NSMutableArray" key="referencedPartialClassDescriptions">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBPartialClassDescription">
- <string key="className">PhotoSetViewController</string>
- <string key="superclassName">UIViewController</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- </object>
- </object>
- <int key="IBDocument.localizationMode">0</int>
- <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
- <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
- <integer value="3000" key="NS.object.0"/>
- </object>
- <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
- <nil key="IBDocument.LastKnownRelativeProjectPath"/>
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
- <string key="IBCocoaTouchPluginVersion">141</string>
- </data>
-</archive>
View
13 LemonadeAlley/SecondViewController.h
@@ -1,13 +0,0 @@
-//
-// SecondViewController.h
-// LemonadeAlley
-//
-// Created by James Wang on 9/3/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface SecondViewController : UIViewController
-
-@end
View
43 LemonadeAlley/SecondViewController.m
@@ -1,43 +0,0 @@
-//
-// SecondViewController.m
-// LemonadeAlley
-//
-// Created by James Wang on 9/3/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
-//
-
-#import "SecondViewController.h"
-
-@implementation SecondViewController
-
-/*
-// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
-- (void)viewDidLoad
-{
- [super viewDidLoad];
-}
-*/
-
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
-{
- // Return YES for supported orientations
- return (interfaceOrientation == UIInterfaceOrientationPortrait);
-}
-
-- (void)didReceiveMemoryWarning
-{
- // Releases the view if it doesn't have a superview.
- [super didReceiveMemoryWarning];
-
- // Release any cached data, images, etc. that aren't in use.
-}
-
-- (void)viewDidUnload
-{
- [super viewDidUnload];
-
- // Release any retained subviews of the main view.
- // e.g. self.myOutlet = nil;
-}
-
-@end
View
12 LemonadeAlley/TabBarController.h
@@ -1,6 +1,12 @@
-#import <Three20/Three20.h>
+//
+// TabBarController.h
+// LemonadeAlley
+//
+// Created by James Wang on 10/3/11.
+// Copyright 2011 __MyCompanyName__. All rights reserved.
+//
-@interface TabBarController : UITabBarController {
-}
+#import <UIKit/UIKit.h>
+@interface TabBarController : UITabBarController
@end
View
20 LemonadeAlley/TabBarController.m
@@ -1,14 +1,22 @@
+//
+// TabBarController.m
+// LemonadeAlley
+//
+// Created by James Wang on 10/3/11.
+// Copyright 2011 __MyCompanyName__. All rights reserved.
+//
+
#import "TabBarController.h"
@implementation TabBarController
- (void)viewDidLoad {
[self setTabURLs:[NSArray arrayWithObjects:@"tt://wp",
- @"tt://menu/2",
- @"tt://menu/3",
- @"tt://menu/4",
- @"tt://menu/5",
- nil]];
+ @"tt://menu/2",
+ @"tt://menu/3",
+ @"tt://menu/4",
+ @"tt://menu/5",
+ nil]];
}
-@end
+@end
View
424 LemonadeAlley/en.lproj/FirstView.xib
@@ -1,424 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
- <data>
- <int key="IBDocument.SystemTarget">1024</int>
- <string key="IBDocument.SystemVersion">10F569</string>
- <string key="IBDocument.InterfaceBuilderVersion">802</string>
- <string key="IBDocument.AppKitVersion">1038.29</string>
- <string key="IBDocument.HIToolboxVersion">461.00</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
- <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">122</string>
- </object>
- <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="1"/>
- </object>
- <object class="NSArray" key="IBDocument.PluginDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- </object>
- <object class="NSMutableDictionary" key="IBDocument.Metadata">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys" id="0">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- </object>
- <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBProxyObject" id="372490531">
- <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- <object class="IBProxyObject" id="263589821">
- <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- <object class="IBUIView" id="191373211">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">274</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBUILabel" id="483052203">
- <reference key="NSNextResponder" ref="191373211"/>
- <int key="NSvFlags">306</int>
- <string key="NSFrame">{{54, 138}, {211, 43}}</string>
- <reference key="NSSuperview" ref="191373211"/>
- <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>
- <bool key="IBUIOpaque">NO</bool>
- <bool key="IBUIClipsSubviews">YES</bool>
- <bool key="IBUIUserInteractionEnabled">NO</bool>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <string key="IBUIText">First View</string>
- <object class="NSFont" key="IBUIFont">
- <string key="NSName">Helvetica</string>
- <double key="NSSize">36</double>
- <int key="NSfFlags">16</int>
- </object>
- <object class="NSColor" key="IBUITextColor">
- <int key="NSColorSpace">1</int>
- <bytes key="NSRGB">MCAwIDAAA</bytes>
- </object>
- <nil key="IBUIHighlightedColor"/>
- <int key="IBUIBaselineAdjustment">1</int>
- <float key="IBUIMinimumFontSize">10</float>
- <int key="IBUITextAlignment">1</int>
- </object>
- <object class="IBUITextView" id="255779567">
- <reference key="NSNextResponder" ref="191373211"/>
- <int key="NSvFlags">306</int>
- <string key="NSFrame">{{22, 236}, {275, 121}}</string>
- <reference key="NSSuperview" ref="191373211"/>
- <bool key="IBUIOpaque">NO</bool>
- <bool key="IBUIClipsSubviews">YES</bool>
- <bool key="IBUIMultipleTouchEnabled">YES</bool>
- <bool key="IBUIUserInteractionEnabled">NO</bool>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <bool key="IBUIShowsHorizontalScrollIndicator">NO</bool>
- <bool key="IBUIDelaysContentTouches">NO</bool>
- <bool key="IBUICanCancelContentTouches">NO</bool>
- <float key="IBUIMinimumZoomScale">0.0</float>
- <float key="IBUIMaximumZoomScale">0.0</float>
- <bool key="IBUIBouncesZoom">NO</bool>
- <bool key="IBUIEditable">NO</bool>
- <string type="base64-UTF8" key="IBUIText">TG9hZGVkIGJ5IHRoZSBmaXJzdCB2aWV3CmNvbnRyb2xsZXIg4oCUIGFuIGluc3RhbmNlIG9mIEZpcnN0
-Vmlld0NvbnRyb2xsZXIg4oCUIHNwZWNpZmllZCBpbiB0aGUgVmlldyBDb250cm9sbGVyIEF0dHJpYnV0
-ZXMgaW4gdGhlIE1haW4gV2luZG93IG5pYiBmaWxlLg</string>
- <int key="IBUITextAlignment">1</int>
- <object class="IBUITextInputTraits" key="IBUITextInputTraits">
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- </object>
- </object>
- <string key="NSFrameSize">{320, 411}</string>
- <reference key="NSSuperview"/>
- <object class="NSColor" key="IBUIBackgroundColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MQA</bytes>
- </object>
- <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
- <object class="IBUISimulatedTabBarMetrics" key="IBUISimulatedBottomBarMetrics"/>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- </object>
- <object class="IBObjectContainer" key="IBDocument.Objects">
- <object class="NSMutableArray" key="connectionRecords">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBConnectionRecord">
- <object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">view</string>
- <reference key="source" ref="372490531"/>
- <reference key="destination" ref="191373211"/>
- </object>
- <int key="connectionID">3</int>
- </object>
- </object>
- <object class="IBMutableOrderedSet" key="objectRecords">
- <object class="NSArray" key="orderedObjects">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBObjectRecord">
- <int key="objectID">0</int>
- <reference key="object" ref="0"/>
- <reference key="children" ref="1000"/>
- <nil key="parent"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1</int>
- <reference key="object" ref="191373211"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="255779567"/>
- <reference ref="483052203"/>
- </object>
- <reference key="parent" ref="0"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-1</int>
- <reference key="object" ref="372490531"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">File's Owner</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-2</int>
- <reference key="object" ref="263589821"/>
- <reference key="parent" ref="0"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">5</int>
- <reference key="object" ref="483052203"/>
- <reference key="parent" ref="191373211"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">7</int>
- <reference key="object" ref="255779567"/>
- <reference key="parent" ref="191373211"/>
- </object>
- </object>
- </object>
- <object class="NSMutableDictionary" key="flattenedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>-1.CustomClassName</string>
- <string>-2.CustomClassName</string>
- <string>1.IBEditorWindowLastContentRect</string>
- <string>1.IBPluginDependency</string>
- <string>5.IBPluginDependency</string>
- <string>7.IBPluginDependency</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>FirstViewController</string>
- <string>UIResponder</string>
- <string>{{774, 676}, {320, 480}}</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- </object>
- </object>
- <object class="NSMutableDictionary" key="unlocalizedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference key="dict.sortedKeys" ref="0"/>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- </object>
- <nil key="activeLocalization"/>
- <object class="NSMutableDictionary" key="localizations">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference key="dict.sortedKeys" ref="0"/>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- </object>
- <nil key="sourceID"/>
- <int key="maxID">7</int>
- </object>
- <object class="IBClassDescriber" key="IBDocument.Classes">
- <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.1+">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBPartialClassDescription">
- <string key="className">FirstViewController</string>
- <string key="superclassName">UIViewController</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBDocumentRelativeSource</string>
- <string key="minorKey">FirstViewController.h</string>
- </object>
- </object>
- </object>
- <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSError.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier" id="180131353">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">UILabel</string>
- <string key="superclassName">UIView</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">UIKit.framework/Headers/UILabel.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">UIResponder</string>
- <string key="superclassName">NSObject</string>
- <reference key="sourceIdentifier" ref="180131353"/>
- </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">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">UISearchDisplayController</string>
- <string key="superclassName">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">UITextView</string>
- <string key="superclassName">UIScrollView</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">UIKit.framework/Headers/UITextView.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">UIView</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
- </object>