Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Commit

Permalink
removed TTViewController
Browse files Browse the repository at this point in the history
  • Loading branch information
Adar Porat committed Jun 8, 2012
1 parent fe6952d commit b3e55e6
Show file tree
Hide file tree
Showing 32 changed files with 14 additions and 2,010 deletions.
12 changes: 0 additions & 12 deletions examples/TTCatalog/TTCatalog.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@
6D64FC9C14DC4A2C0099CBC0 /* ImageTest1Controller.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D64FC6714DC4A2C0099CBC0 /* ImageTest1Controller.m */; };
6D64FC9D14DC4A2C0099CBC0 /* LauncherViewTestController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D64FC6914DC4A2C0099CBC0 /* LauncherViewTestController.m */; };
6D64FC9E14DC4A2C0099CBC0 /* mask.png in Resources */ = {isa = PBXBuildFile; fileRef = 6D64FC6A14DC4A2C0099CBC0 /* mask.png */; };
6D64FC9F14DC4A2C0099CBC0 /* MessageTestController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D64FC6C14DC4A2C0099CBC0 /* MessageTestController.m */; };
6D64FCA014DC4A2C0099CBC0 /* MockDataSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D64FC6E14DC4A2C0099CBC0 /* MockDataSource.m */; };
6D64FCA114DC4A2C0099CBC0 /* MockPhotoSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D64FC7014DC4A2C0099CBC0 /* MockPhotoSource.m */; };
6D64FCA214DC4A2C0099CBC0 /* person.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 6D64FC7114DC4A2C0099CBC0 /* person.jpg */; };
6D64FCA414DC4A2C0099CBC0 /* PhotoTest2Controller.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D64FC7514DC4A2C0099CBC0 /* PhotoTest2Controller.m */; };
6D64FCA514DC4A2C0099CBC0 /* ScrollViewTestController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D64FC7714DC4A2C0099CBC0 /* ScrollViewTestController.m */; };
6D64FCA614DC4A2C0099CBC0 /* SearchTestController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D64FC7914DC4A2C0099CBC0 /* SearchTestController.m */; };
6D64FCA714DC4A2C0099CBC0 /* smiley.png in Resources */ = {isa = PBXBuildFile; fileRef = 6D64FC7A14DC4A2C0099CBC0 /* smiley.png */; };
6D64FCA814DC4A2C0099CBC0 /* StyledTextTableTestController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D64FC7C14DC4A2C0099CBC0 /* StyledTextTableTestController.m */; };
6D64FCA914DC4A2C0099CBC0 /* StyledTextTestController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D64FC7E14DC4A2C0099CBC0 /* StyledTextTestController.m */; };
Expand Down Expand Up @@ -105,8 +103,6 @@
6D64FC6814DC4A2C0099CBC0 /* LauncherViewTestController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LauncherViewTestController.h; sourceTree = "<group>"; };
6D64FC6914DC4A2C0099CBC0 /* LauncherViewTestController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LauncherViewTestController.m; sourceTree = "<group>"; };
6D64FC6A14DC4A2C0099CBC0 /* mask.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = mask.png; sourceTree = "<group>"; };
6D64FC6B14DC4A2C0099CBC0 /* MessageTestController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MessageTestController.h; sourceTree = "<group>"; };
6D64FC6C14DC4A2C0099CBC0 /* MessageTestController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MessageTestController.m; sourceTree = "<group>"; };
6D64FC6D14DC4A2C0099CBC0 /* MockDataSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MockDataSource.h; sourceTree = "<group>"; };
6D64FC6E14DC4A2C0099CBC0 /* MockDataSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MockDataSource.m; sourceTree = "<group>"; };
6D64FC6F14DC4A2C0099CBC0 /* MockPhotoSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MockPhotoSource.h; sourceTree = "<group>"; };
Expand All @@ -116,8 +112,6 @@
6D64FC7514DC4A2C0099CBC0 /* PhotoTest2Controller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PhotoTest2Controller.m; sourceTree = "<group>"; };
6D64FC7614DC4A2C0099CBC0 /* ScrollViewTestController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScrollViewTestController.h; sourceTree = "<group>"; };
6D64FC7714DC4A2C0099CBC0 /* ScrollViewTestController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ScrollViewTestController.m; sourceTree = "<group>"; };
6D64FC7814DC4A2C0099CBC0 /* SearchTestController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SearchTestController.h; sourceTree = "<group>"; };
6D64FC7914DC4A2C0099CBC0 /* SearchTestController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SearchTestController.m; sourceTree = "<group>"; };
6D64FC7A14DC4A2C0099CBC0 /* smiley.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = smiley.png; sourceTree = "<group>"; };
6D64FC7B14DC4A2C0099CBC0 /* StyledTextTableTestController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StyledTextTableTestController.h; sourceTree = "<group>"; };
6D64FC7C14DC4A2C0099CBC0 /* StyledTextTableTestController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StyledTextTableTestController.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -216,8 +210,6 @@
6D64FC6714DC4A2C0099CBC0 /* ImageTest1Controller.m */,
6D64FC6814DC4A2C0099CBC0 /* LauncherViewTestController.h */,
6D64FC6914DC4A2C0099CBC0 /* LauncherViewTestController.m */,
6D64FC6B14DC4A2C0099CBC0 /* MessageTestController.h */,
6D64FC6C14DC4A2C0099CBC0 /* MessageTestController.m */,
6D64FC6D14DC4A2C0099CBC0 /* MockDataSource.h */,
6D64FC6E14DC4A2C0099CBC0 /* MockDataSource.m */,
6D64FC6F14DC4A2C0099CBC0 /* MockPhotoSource.h */,
Expand All @@ -226,8 +218,6 @@
6D64FC7514DC4A2C0099CBC0 /* PhotoTest2Controller.m */,
6D64FC7614DC4A2C0099CBC0 /* ScrollViewTestController.h */,
6D64FC7714DC4A2C0099CBC0 /* ScrollViewTestController.m */,
6D64FC7814DC4A2C0099CBC0 /* SearchTestController.h */,
6D64FC7914DC4A2C0099CBC0 /* SearchTestController.m */,
6D64FC7B14DC4A2C0099CBC0 /* StyledTextTableTestController.h */,
6D64FC7C14DC4A2C0099CBC0 /* StyledTextTableTestController.m */,
6D64FC7D14DC4A2C0099CBC0 /* StyledTextTestController.h */,
Expand Down Expand Up @@ -414,12 +404,10 @@
6D64FC9A14DC4A2C0099CBC0 /* DownloadTestModel.m in Sources */,
6D64FC9C14DC4A2C0099CBC0 /* ImageTest1Controller.m in Sources */,
6D64FC9D14DC4A2C0099CBC0 /* LauncherViewTestController.m in Sources */,
6D64FC9F14DC4A2C0099CBC0 /* MessageTestController.m in Sources */,
6D64FCA014DC4A2C0099CBC0 /* MockDataSource.m in Sources */,
6D64FCA114DC4A2C0099CBC0 /* MockPhotoSource.m in Sources */,
6D64FCA414DC4A2C0099CBC0 /* PhotoTest2Controller.m in Sources */,
6D64FCA514DC4A2C0099CBC0 /* ScrollViewTestController.m in Sources */,
6D64FCA614DC4A2C0099CBC0 /* SearchTestController.m in Sources */,
6D64FCA814DC4A2C0099CBC0 /* StyledTextTableTestController.m in Sources */,
6D64FCA914DC4A2C0099CBC0 /* StyledTextTestController.m in Sources */,
6D64FCAA14DC4A2C0099CBC0 /* StyleTestController.m in Sources */,
Expand Down
2 changes: 1 addition & 1 deletion examples/TTCatalog/TTCatalog/ActivityTestController.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <Three20Lite/Three20Lite.h>

@interface ActivityTestController : TTViewController
@interface ActivityTestController : UIViewController
@end

2 changes: 1 addition & 1 deletion examples/TTCatalog/TTCatalog/ButtonTestController.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import <Three20Lite/Three20Lite.h>

@interface ButtonTestController : TTViewController {
@interface ButtonTestController : UIViewController {
CGFloat _fontSize;
}

Expand Down
12 changes: 2 additions & 10 deletions examples/TTCatalog/TTCatalog/CatalogController.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#import "TableWithBannerController.h"
#import "TableWithShadowController.h"
#import "TableDragRefreshController.h"
#import "SearchTestController.h"
#import "MessageTestController.h"
#import "ActivityTestController.h"
#import "ScrollViewTestController.h"
#import "LauncherViewTestController.h"
Expand Down Expand Up @@ -54,7 +52,6 @@ - (void)createModel {
@"Controls",
[TTTableTextItem itemWithText:@"Buttons" accessory:UITableViewCellAccessoryDisclosureIndicator],
[TTTableTextItem itemWithText:@"Tabs" accessory:UITableViewCellAccessoryDisclosureIndicator],
[TTTableTextItem itemWithText:@"Composers" accessory:UITableViewCellAccessoryDisclosureIndicator],

@"Tables",
[TTTableTextItem itemWithText:@"Table Items" accessory:UITableViewCellAccessoryDisclosureIndicator],
Expand All @@ -66,7 +63,6 @@ - (void)createModel {
[TTTableTextItem itemWithText:@"Table With Drag Refresh" accessory:UITableViewCellAccessoryDisclosureIndicator],

@"Models",
[TTTableTextItem itemWithText:@"Model Search" accessory:UITableViewCellAccessoryDisclosureIndicator],
[TTTableTextItem itemWithText:@"Model States" accessory:UITableViewCellAccessoryDisclosureIndicator],

@"General",
Expand All @@ -82,7 +78,7 @@ - (void)createModel {
///////////////////////////////////////////////////////////////////////////////////////////////////
- (void)didSelectObject:(id)object atIndexPath:(NSIndexPath *)indexPath {

TTViewController* vc;
UIViewController* vc;
if (indexPath.section==0) {
if (indexPath.row==0) {
vc = [[[PhotoTest1Controller alloc] initWithNibName:nil bundle:nil] autorelease];
Expand All @@ -100,8 +96,6 @@ - (void)didSelectObject:(id)object atIndexPath:(NSIndexPath *)indexPath {
vc = [[[ButtonTestController alloc] initWithNibName:nil bundle:nil] autorelease];
} else if (indexPath.row==1) {
vc = [[[TabBarTestController alloc] initWithNibName:nil bundle:nil] autorelease];
} else {
vc = [[[MessageTestController alloc] initWithNibName:nil bundle:nil] autorelease];
}
} else if (indexPath.section==3) {
if (indexPath.row==0) {
Expand All @@ -120,9 +114,7 @@ - (void)didSelectObject:(id)object atIndexPath:(NSIndexPath *)indexPath {
vc = [[[TableDragRefreshController alloc] initWithNibName:nil bundle:nil] autorelease];
}
} else if (indexPath.section==4) {
if (indexPath.row==0) {
vc = [[[SearchTestController alloc] initWithNibName:nil bundle:nil] autorelease];
} else if (indexPath.row==1) {
if (indexPath.row==1) {
vc = [[[TableTestController alloc] initWithNibName:nil bundle:nil] autorelease];
}
} else if (indexPath.section==5) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#import <Three20Lite/Three20Lite.h>

@class DownloadTestModel;
@interface DownloadProgressTestController : TTViewController <TTModelDelegate> {
@interface DownloadProgressTestController : UIViewController <TTModelDelegate> {
NSUInteger _defaultMaxContentLength;
TTActivityLabel *_activityLabel;
DownloadTestModel *_loadingModel;
Expand Down
2 changes: 1 addition & 1 deletion examples/TTCatalog/TTCatalog/ImageTest1Controller.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import <Three20Lite/Three20Lite.h>

@interface ImageTest1Controller : TTViewController {
@interface ImageTest1Controller : UIViewController {

}

Expand Down
2 changes: 1 addition & 1 deletion examples/TTCatalog/TTCatalog/LauncherViewTestController.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import <Three20Lite/Three20Lite.h>

@interface LauncherViewTestController : TTViewController <TTLauncherViewDelegate> {
@interface LauncherViewTestController : UIViewController <TTLauncherViewDelegate> {
TTLauncherView* _launcherView;
}

Expand Down
11 changes: 0 additions & 11 deletions examples/TTCatalog/TTCatalog/MessageTestController.h

This file was deleted.

132 changes: 0 additions & 132 deletions examples/TTCatalog/TTCatalog/MessageTestController.m

This file was deleted.

2 changes: 1 addition & 1 deletion examples/TTCatalog/TTCatalog/ScrollViewTestController.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import <Three20Lite/Three20Lite.h>

@interface ScrollViewTestController : TTViewController <TTScrollViewDataSource, TTScrollViewDelegate> {
@interface ScrollViewTestController : UIViewController <TTScrollViewDataSource, TTScrollViewDelegate> {
TTScrollView* _scrollView;
TTPageControl* _pageControl;
NSArray* _colors;
Expand Down
18 changes: 0 additions & 18 deletions examples/TTCatalog/TTCatalog/SearchTestController.h

This file was deleted.

52 changes: 0 additions & 52 deletions examples/TTCatalog/TTCatalog/SearchTestController.m

This file was deleted.

2 changes: 1 addition & 1 deletion examples/TTCatalog/TTCatalog/StyleTestController.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import <Three20Lite/Three20Lite.h>

@interface StyleTestController : TTViewController
@interface StyleTestController : UIViewController
@end
2 changes: 1 addition & 1 deletion examples/TTCatalog/TTCatalog/StyledTextTestController.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import <Three20Lite/Three20Lite.h>

@interface StyledTextTestController : TTViewController
@interface StyledTextTestController : UIViewController
@end
Loading

0 comments on commit b3e55e6

Please sign in to comment.