Permalink
Browse files

Removed unneeded class, fixed static sizing.

  • Loading branch information...
devindoty committed Dec 6, 2010
1 parent 27042c3 commit 045ef31e576f937c3e2f8d336e5a036f49cdcd06
Showing with 62 additions and 387 deletions.
  1. BIN .DS_Store
  2. BIN Demo/.DS_Store
  3. +2 −2 Demo/TableViewPull/Classes/Controller/RootViewController/RootViewController.m
  4. +18 −22 Demo/TableViewPull/TableViewPull.xcodeproj/devin.mode1v3
  5. +31 −147 Demo/TableViewPull/TableViewPull.xcodeproj/devin.pbxuser
  6. +5 −5 ...bleViewPull/build/TableViewPull.build/Debug-iphonesimulator/TableViewPull.build/TableViewPull.dep
  7. +6 −5 ...TableViewPull/build/TableViewPull.build/Debug-iphonesimulator/TableViewPull.build/build-state.dat
  8. BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/categories.pbxbtree
  9. BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/cdecls.pbxbtree
  10. BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/decls.pbxbtree
  11. BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/files.pbxbtree
  12. BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/imports.pbxbtree
  13. BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/pbxindex.header
  14. BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/protocols.pbxbtree
  15. BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/refs.pbxbtree
  16. BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/strings.pbxstrings/control
  17. BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/strings.pbxstrings/strings
  18. BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/subclasses.pbxbtree
  19. BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/symbols0.pbxsymbols
  20. BIN EGOTableViewPullRefresh/.DS_Store
  21. +0 −41 EGOTableViewPullRefresh/Classes/Controller/RootViewController.h
  22. +0 −165 EGOTableViewPullRefresh/Classes/Controller/RootViewController.m
View
BIN .DS_Store
Binary file not shown.
View
Binary file not shown.
@@ -33,7 +33,7 @@ - (void)viewDidLoad {
if (_refreshHeaderView == nil) {
- EGORefreshTableHeaderView *view = [[EGORefreshTableHeaderView alloc] initWithFrame:CGRectMake(0.0f, 0.0f - self.tableView.bounds.size.height, 320.0f, self.tableView.bounds.size.height)];
+ EGORefreshTableHeaderView *view = [[EGORefreshTableHeaderView alloc] initWithFrame:CGRectMake(0.0f, 0.0f - self.tableView.bounds.size.height, self.view.frame.size.width, self.tableView.bounds.size.height)];
view.delegate = self;
[self.tableView addSubview:view];
_refreshHeaderView = view;
@@ -42,7 +42,7 @@ - (void)viewDidLoad {
}
// update the last update date
- [view refreshLastUpdatedDate];
+ [_refreshHeaderView refreshLastUpdatedDate];
}
@@ -229,6 +229,8 @@
<key>Layout</key>
<array>
<dict>
+ <key>BecomeActive</key>
+ <true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXBottomSmartGroupGIDs</key>
@@ -265,13 +267,13 @@
<array>
<string>29B97314FDCFA39411CA2CEA</string>
<string>080E96DDFE201D6D7F000001</string>
+ <string>3A3D909211188012002B6585</string>
+ <string>3A3D909B11188064002B6585</string>
<string>1C37FABC05509CD000000102</string>
</array>
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
- <integer>2</integer>
- <integer>1</integer>
<integer>0</integer>
</array>
</array>
@@ -311,22 +313,23 @@
<key>PBXProjectModuleGUID</key>
<string>1CE0B20306471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>EGORefreshTableHeaderView.m</string>
+ <string>RootViewController.m</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CE0B20406471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>EGORefreshTableHeaderView.m</string>
+ <string>RootViewController.m</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>03C70E5C12AAE413004A91DA</string>
+ <string>034F3E8C12AD5954006D400D</string>
<key>history</key>
<array>
- <string>03C70E4912AAE3D0004A91DA</string>
+ <string>03C70E5F12AAE59E004A91DA</string>
+ <string>03C70E6112AAE59E004A91DA</string>
</array>
</dict>
<key>SplitCount</key>
@@ -338,18 +341,16 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 0}, {580, 277}}</string>
+ <string>{{0, 0}, {580, 269}}</string>
<key>RubberWindowFrame</key>
<string>193 340 788 504 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
<key>Proportion</key>
- <string>277pt</string>
+ <string>269pt</string>
</dict>
<dict>
- <key>BecomeActive</key>
- <true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
@@ -360,14 +361,14 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 282}, {580, 181}}</string>
+ <string>{{0, 274}, {580, 189}}</string>
<key>RubberWindowFrame</key>
<string>193 340 788 504 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
<key>Proportion</key>
- <string>181pt</string>
+ <string>189pt</string>
</dict>
</array>
<key>Proportion</key>
@@ -386,9 +387,9 @@
</array>
<key>TableOfContents</key>
<array>
- <string>03C70DC712AACEC3004A91DA</string>
+ <string>034F3E8D12AD5954006D400D</string>
<string>1CE0B1FE06471DED0097A5F4</string>
- <string>03C70DC812AACEC3004A91DA</string>
+ <string>034F3E8E12AD5954006D400D</string>
<string>1CE0B20306471E060097A5F4</string>
<string>1CE0B20506471E060097A5F4</string>
</array>
@@ -526,10 +527,7 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
- <string>03C70E5512AAE3D0004A91DA</string>
- <string>03C70E4B12AAE3D0004A91DA</string>
- <string>1C78EAAD065D492600B07095</string>
- <string>1CD10A99069EF8BA00B06720</string>
+ <string>034F3E9012AD5954006D400D</string>
<string>03C70DCA12AACEC3004A91DA</string>
<string>/Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/TableViewPull.xcodeproj</string>
</array>
@@ -550,14 +548,12 @@
<key>Dock</key>
<array>
<dict>
- <key>BecomeActive</key>
- <true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CD0528F0623707200166675</string>
<key>PBXProjectModuleLabel</key>
- <string>EGORefreshTableHeaderView.m</string>
+ <string></string>
<key>StatusBarVisibility</key>
<true/>
</dict>
@@ -613,7 +609,7 @@
<key>TableOfContents</key>
<array>
<string>03C70DCA12AACEC3004A91DA</string>
- <string>03C70DCB12AACEC3004A91DA</string>
+ <string>034F3E8F12AD5954006D400D</string>
<string>1CD0528F0623707200166675</string>
<string>XCMainBuildResultsModuleGUID</string>
</array>
@@ -1,5 +1,15 @@
// !$*UTF8*$!
{
+ 034F3E8C12AD5954006D400D /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 3A3D90A7111881DE002B6585 /* RootViewController.m */;
+ name = "RootViewController.m: 138";
+ rLen = 0;
+ rLoc = 4001;
+ rType = 0;
+ vrLen = 570;
+ vrLoc = 1395;
+ };
03C70DBD12AACEC2004A91DA /* TableViewPull */ = {
isa = PBXExecutable;
activeArgIndices = (
@@ -42,140 +52,25 @@
isa = PBXCodeSenseManager;
indexTemplatePath = "";
};
- 03C70E4912AAE3D0004A91DA /* XCBuildMessageTextBookmark */ = {
- isa = PBXTextBookmark;
- comments = "'_reloading' undeclared (first use in this function)";
- fRef = 3A3D909D11188064002B6585 /* EGORefreshTableHeaderView.m */;
- fallbackIsa = XCBuildMessageTextBookmark;
- rLen = 1;
- rLoc = 217;
- rType = 1;
- };
- 03C70E4A12AAE3D0004A91DA /* PBXTextBookmark */ = {
+ 03C70E5F12AAE59E004A91DA /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 3A3D909D11188064002B6585 /* EGORefreshTableHeaderView.m */;
name = "EGORefreshTableHeaderView.m: 218";
rLen = 0;
rLoc = 7277;
rType = 0;
- vrLen = 829;
+ vrLen = 856;
vrLoc = 2031;
};
- 03C70E4D12AAE3D0004A91DA /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 3A3D909C11188064002B6585 /* EGORefreshTableHeaderView.h */;
- name = "EGORefreshTableHeaderView.h: 52";
- rLen = 22;
- rLoc = 1756;
- rType = 0;
- vrLen = 1628;
- vrLoc = 687;
- };
- 03C70E4E12AAE3D0004A91DA /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 3A3D909D11188064002B6585 /* EGORefreshTableHeaderView.m */;
- name = "EGORefreshTableHeaderView.m: 106";
- rLen = 7;
- rLoc = 3812;
- rType = 0;
- vrLen = 1268;
- vrLoc = 3386;
- };
- 03C70E4F12AAE3D0004A91DA /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 3A3D909D11188064002B6585 /* EGORefreshTableHeaderView.m */;
- name = "EGORefreshTableHeaderView.m: 92";
- rLen = 0;
- rLoc = 3688;
- rType = 0;
- vrLen = 1251;
- vrLoc = 3407;
- };
- 03C70E5212AAE3D0004A91DA /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 3A3D90A6111881DE002B6585 /* RootViewController.h */;
- name = "RootViewController.h: 28";
- rLen = 0;
- rLoc = 1279;
- rType = 0;
- vrLen = 1663;
- vrLoc = 0;
- };
- 03C70E5312AAE3D0004A91DA /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 3A3D90A7111881DE002B6585 /* RootViewController.m */;
- name = "RootViewController.m: 16";
- rLen = 0;
- rLoc = 744;
- rType = 0;
- vrLen = 1830;
- vrLoc = 150;
- };
- 03C70E5412AAE3D0004A91DA /* PBXTextBookmark */ = {
+ 03C70E6112AAE59E004A91DA /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 3A3D90A7111881DE002B6585 /* RootViewController.m */;
- name = "RootViewController.m: 41";
+ name = "RootViewController.m: 138";
rLen = 0;
- rLoc = 1693;
+ rLoc = 4001;
rType = 0;
- vrLen = 1369;
- vrLoc = 689;
- };
- 03C70E5712AAE3D0004A91DA /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 3A3D909D11188064002B6585 /* EGORefreshTableHeaderView.m */;
- name = "EGORefreshTableHeaderView.m: 106";
- rLen = 0;
- rLoc = 3812;
- rType = 0;
- vrLen = 1275;
- vrLoc = 6834;
- };
- 03C70E5812AAE3D0004A91DA /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 3A3D909C11188064002B6585 /* EGORefreshTableHeaderView.h */;
- rLen = 0;
- rLoc = 9223372036854775812;
- rType = 0;
- };
- 03C70E5912AAE3D0004A91DA /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 3A3D909C11188064002B6585 /* EGORefreshTableHeaderView.h */;
- name = "EGORefreshTableHeaderView.h: 62";
- rLen = 88;
- rLoc = 2222;
- rType = 0;
- vrLen = 1840;
- vrLoc = 470;
- };
- 03C70E5A12AAE410004A91DA /* XCBuildMessageTextBookmark */ = {
- isa = PBXTextBookmark;
- comments = "'_refreshHeaderView' undeclared (first use in this function)";
- fRef = 3A3D909D11188064002B6585 /* EGORefreshTableHeaderView.m */;
- fallbackIsa = XCBuildMessageTextBookmark;
- rLen = 1;
- rLoc = 240;
- rType = 1;
- };
- 03C70E5B12AAE410004A91DA /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 3A3D909D11188064002B6585 /* EGORefreshTableHeaderView.m */;
- name = "EGORefreshTableHeaderView.m: 77";
- rLen = 0;
- rLoc = 3165;
- rType = 0;
- vrLen = 499;
- vrLoc = 2887;
- };
- 03C70E5C12AAE413004A91DA /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 3A3D909D11188064002B6585 /* EGORefreshTableHeaderView.m */;
- name = "EGORefreshTableHeaderView.m: 218";
- rLen = 0;
- rLoc = 7277;
- rType = 0;
- vrLen = 856;
- vrLoc = 2031;
+ vrLen = 1032;
+ vrLoc = 3227;
};
1D6058900D05DD3D006BFB54 /* TableViewPull */ = {
activeExec = 0;
@@ -200,7 +95,7 @@
20,
341,
20,
- 48.16259765625,
+ 48,
43,
43,
20,
@@ -215,24 +110,13 @@
PBXFileDataSource_Target_ColumnID,
);
};
- PBXPerProjectTemplateStateSaveDate = 313183938;
- PBXWorkspaceStateSaveDate = 313183938;
+ PBXPerProjectTemplateStateSaveDate = 313350446;
+ PBXWorkspaceStateSaveDate = 313350446;
};
perUserProjectItems = {
- 03C70E4912AAE3D0004A91DA /* XCBuildMessageTextBookmark */ = 03C70E4912AAE3D0004A91DA /* XCBuildMessageTextBookmark */;
- 03C70E4A12AAE3D0004A91DA /* PBXTextBookmark */ = 03C70E4A12AAE3D0004A91DA /* PBXTextBookmark */;
- 03C70E4D12AAE3D0004A91DA /* PBXTextBookmark */ = 03C70E4D12AAE3D0004A91DA /* PBXTextBookmark */;
- 03C70E4E12AAE3D0004A91DA /* PBXTextBookmark */ = 03C70E4E12AAE3D0004A91DA /* PBXTextBookmark */;
- 03C70E4F12AAE3D0004A91DA /* PBXTextBookmark */ = 03C70E4F12AAE3D0004A91DA /* PBXTextBookmark */;
- 03C70E5212AAE3D0004A91DA /* PBXTextBookmark */ = 03C70E5212AAE3D0004A91DA /* PBXTextBookmark */;
- 03C70E5312AAE3D0004A91DA /* PBXTextBookmark */ = 03C70E5312AAE3D0004A91DA /* PBXTextBookmark */;
- 03C70E5412AAE3D0004A91DA /* PBXTextBookmark */ = 03C70E5412AAE3D0004A91DA /* PBXTextBookmark */;
- 03C70E5712AAE3D0004A91DA /* PBXTextBookmark */ = 03C70E5712AAE3D0004A91DA /* PBXTextBookmark */;
- 03C70E5812AAE3D0004A91DA /* PBXTextBookmark */ = 03C70E5812AAE3D0004A91DA /* PBXTextBookmark */;
- 03C70E5912AAE3D0004A91DA /* PBXTextBookmark */ = 03C70E5912AAE3D0004A91DA /* PBXTextBookmark */;
- 03C70E5A12AAE410004A91DA /* XCBuildMessageTextBookmark */ = 03C70E5A12AAE410004A91DA /* XCBuildMessageTextBookmark */;
- 03C70E5B12AAE410004A91DA /* PBXTextBookmark */ = 03C70E5B12AAE410004A91DA /* PBXTextBookmark */;
- 03C70E5C12AAE413004A91DA /* PBXTextBookmark */ = 03C70E5C12AAE413004A91DA /* PBXTextBookmark */;
+ 034F3E8C12AD5954006D400D /* PBXTextBookmark */ = 034F3E8C12AD5954006D400D /* PBXTextBookmark */;
+ 03C70E5F12AAE59E004A91DA /* PBXTextBookmark */ = 03C70E5F12AAE59E004A91DA /* PBXTextBookmark */;
+ 03C70E6112AAE59E004A91DA /* PBXTextBookmark */ = 03C70E6112AAE59E004A91DA /* PBXTextBookmark */;
};
sourceControlManager = 03C70DCC12AACEC3004A91DA /* Source Control */;
userBuildSettings = {
@@ -249,9 +133,9 @@
3A3D909D11188064002B6585 /* EGORefreshTableHeaderView.m */ = {
uiCtxt = {
sepNavFolds = "{\n c = (\n {\n r = \"{6140, 870}\";\n s = 0;\n }\n );\n r = \"{0, 8239}\";\n s = 0;\n}";
- sepNavIntBoundsRect = "{{0, 0}, {929, 2834}}";
- sepNavSelRange = "{6408, 0}";
- sepNavVisRange = "{2031, 856}";
+ sepNavIntBoundsRect = "{{0, 0}, {1286, 2730}}";
+ sepNavSelRange = "{2640, 0}";
+ sepNavVisRange = "{1416, 1934}";
sepNavWindowFrame = "{{15, 80}, {1345, 793}}";
};
};
@@ -264,11 +148,11 @@
};
3A3D90A7111881DE002B6585 /* RootViewController.m */ = {
uiCtxt = {
- sepNavFolds = "{\n c = (\n {\n r = \"{1330, 437}\";\n s = 0;\n },\n {\n r = \"{1863, 14}\";\n s = 0;\n },\n {\n r = \"{1999, 16}\";\n s = 0;\n },\n {\n r = \"{2108, 15}\";\n s = 0;\n },\n {\n r = \"{2230, 353}\";\n s = 0;\n },\n {\n r = \"{2678, 65}\";\n s = 0;\n },\n {\n r = \"{2850, 119}\";\n s = 0;\n },\n {\n r = \"{3005, 160}\";\n s = 0;\n },\n {\n r = \"{3282, 71}\";\n s = 0;\n },\n {\n r = \"{3448, 74}\";\n s = 0;\n },\n {\n r = \"{3673, 131}\";\n s = 0;\n },\n {\n r = \"{3889, 76}\";\n s = 0;\n },\n {\n r = \"{4055, 79}\";\n s = 0;\n },\n {\n r = \"{4218, 38}\";\n s = 0;\n },\n {\n r = \"{4282, 26}\";\n s = 0;\n },\n {\n r = \"{4328, 51}\";\n s = 0;\n }\n );\n r = \"{0, 4389}\";\n s = 0;\n}";
- sepNavIntBoundsRect = "{{0, 0}, {1286, 1118}}";
- sepNavSelRange = "{2448, 0}";
- sepNavVisRange = "{1482, 1198}";
- sepNavWindowFrame = "{{163, 85}, {1345, 793}}";
+ sepNavFolds = "{\n c = (\n {\n r = \"{1897, 14}\";\n s = 0;\n },\n {\n r = \"{2033, 16}\";\n s = 0;\n },\n {\n r = \"{2142, 15}\";\n s = 0;\n },\n {\n r = \"{2264, 353}\";\n s = 0;\n },\n {\n r = \"{2712, 65}\";\n s = 0;\n },\n {\n r = \"{2884, 119}\";\n s = 0;\n },\n {\n r = \"{3039, 160}\";\n s = 0;\n },\n {\n r = \"{3316, 71}\";\n s = 0;\n },\n {\n r = \"{3482, 74}\";\n s = 0;\n },\n {\n r = \"{3707, 131}\";\n s = 0;\n },\n {\n r = \"{3923, 76}\";\n s = 0;\n },\n {\n r = \"{4089, 79}\";\n s = 0;\n },\n {\n r = \"{4252, 38}\";\n s = 0;\n },\n {\n r = \"{4316, 26}\";\n s = 0;\n },\n {\n r = \"{4362, 51}\";\n s = 0;\n }\n );\n r = \"{0, 4423}\";\n s = 0;\n}";
+ sepNavIntBoundsRect = "{{0, 0}, {1510, 1235}}";
+ sepNavSelRange = "{2918, 0}";
+ sepNavVisRange = "{1395, 557}";
+ sepNavWindowFrame = "{{95, 85}, {1345, 793}}";
};
};
}
Oops, something went wrong.

0 comments on commit 045ef31

Please sign in to comment.