Skip to content
Browse files

Removed unneeded class, fixed static sizing.

  • Loading branch information...
1 parent 27042c3 commit 045ef31e576f937c3e2f8d336e5a036f49cdcd06 @devindoty devindoty committed
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
BIN Demo/.DS_Store
Binary file not shown.
View
4 Demo/TableViewPull/Classes/Controller/RootViewController/RootViewController.m
@@ -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];
}
View
40 Demo/TableViewPull/TableViewPull.xcodeproj/devin.mode1v3
@@ -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,7 +313,7 @@
<key>PBXProjectModuleGUID</key>
<string>1CE0B20306471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>EGORefreshTableHeaderView.m</string>
+ <string>RootViewController.m</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
@@ -319,14 +321,15 @@
<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>
View
178 Demo/TableViewPull/TableViewPull.xcodeproj/devin.pbxuser
@@ -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}}";
};
};
}
View
10 ...ull/build/TableViewPull.build/Debug-iphonesimulator/TableViewPull.build/TableViewPull.dep
@@ -1,10 +1,10 @@
+ffffffffffffffffffffffffffffffff bf867634d2bcdeabb258d216f8856184 ffffffffffffffffffffffffffffffff 56844 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/TableViewPull.build/Debug-iphonesimulator/TableViewPull.build/Objects-normal/i386/RootViewController.o
+ffffffffffffffffffffffffffffffff 09b17c8521bbeed505f60d9e0fb3bd65 ffffffffffffffffffffffffffffffff 102 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/Debug-iphonesimulator/TableViewPull.app.dSYM
+ffffffffffffffffffffffffffffffff f05ab20d4fa1972b73c5f1727633cdf6 ffffffffffffffffffffffffffffffff 510 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/Debug-iphonesimulator/TableViewPull.app
+ffffffffffffffffffffffffffffffff 87a0af9c12abd22f49371987c06996dc ffffffffffffffffffffffffffffffff 36620 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/Debug-iphonesimulator/TableViewPull.app/TableViewPull
17bae760e5ea0d9618cdd48426ce3b0a 08f9872e4e3f96f23750273022c17201 ffffffffffffffffffffffffffffffff 6372 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/TableViewPull.build/Debug-iphonesimulator/TableViewPull.build/Objects-normal/i386/main.o
-17bae760e5d1b25518cdd48426ce2646 bf867634d2bcdeabb258d216f8856184 ffffffffffffffffffffffffffffffff 56844 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/TableViewPull.build/Debug-iphonesimulator/TableViewPull.build/Objects-normal/i386/RootViewController.o
-17bae760e5d1b99318cdd48426ce139d fbfc4b573c30b7da6f6c32b5f01fa5f1 ffffffffffffffffffffffffffffffff 63480 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/TableViewPull.build/Debug-iphonesimulator/TableViewPull.build/Objects-normal/i386/EGORefreshTableHeaderView.o
+ffffffffffffffffffffffffffffffff fbfc4b573c30b7da6f6c32b5f01fa5f1 ffffffffffffffffffffffffffffffff 63480 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/TableViewPull.build/Debug-iphonesimulator/TableViewPull.build/Objects-normal/i386/EGORefreshTableHeaderView.o
17bae760a92b18a618cdd48426ce3721 6ff4912d0fcfd7ff54f213ebc99018b4 ffffffffffffffffffffffffffffffff 51536 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/TableViewPull.build/Debug-iphonesimulator/TableViewPull.build/Objects-normal/i386/TableViewPullAppDelegate.o
-00000000000000000000000000000000 09b17c8521bbeed505f60d9e0fb3bd65 ffffffffffffffffffffffffffffffff 102 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/Debug-iphonesimulator/TableViewPull.app.dSYM
-7d68951a47e1a4642cfda05a7db34d31 f05ab20d4fa1972b73c5f1727633cdf6 ffffffffffffffffffffffffffffffff 510 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/Debug-iphonesimulator/TableViewPull.app
-23772b60af7254febe96d478e3aaeae0 87a0af9c12abd22f49371987c06996dc ffffffffffffffffffffffffffffffff 36620 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/Debug-iphonesimulator/TableViewPull.app/TableViewPull
00000000004967700000000000000556 17bae760e598d5c118cdd48426ce358a ffffffffffffffffffffffffffffffff 15477968 /var/folders/EN/ENmrDakkEzOaao7-bah5i++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/TableViewPull_Prefix-gpqoidesfvvamccijytcwdnrcugh/TableViewPull_Prefix.pch.gch
00000000000000000000000000000000 afb374383f59f973f2445e7046f89ce2 ffffffffffffffffffffffffffffffff 1569 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/Debug-iphonesimulator/TableViewPull.app/whiteArrow@2x.png
00000000000000000000000000000000 023f32a12b39f6906dd8f51dda6088aa ffffffffffffffffffffffffffffffff 1914 /Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/build/Debug-iphonesimulator/TableViewPull.app/grayArrow.png
View
11 ...wPull/build/TableViewPull.build/Debug-iphonesimulator/TableViewPull.build/build-state.dat
@@ -72,11 +72,12 @@ N/Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/Class
c000000004CFAAA17000000000000067F
t1291495959
s1663
+i"EGORefreshTableHeaderView.h"
N/Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/Classes/Controller/RootViewController/RootViewController.m
-c000000004CFAAAF300000000000010E5
-t1291496179
-s4325
+c000000004CFD21CE0000000000001147
+t1291657678
+s4423
i"RootViewController.h"
N/Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/Classes/Delegate/TableViewPullAppDelegate.h
@@ -99,8 +100,8 @@ i<UIKit/UIKit.h>
i<QuartzCore/QuartzCore.h>
N/Users/devin/Documents/iOS Dev/EGOTableViewPullRefresh/Demo/TableViewPull/Classes/View/RefreshTableHeaderView/EGORefreshTableHeaderView.m
-c000000004CFAAC48000000000000202F
-t1291496520
+c000000004CFAAC8C000000000000202F
+t1291496588
s8239
i"EGORefreshTableHeaderView.h"
View
BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/categories.pbxbtree
Binary file not shown.
View
BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/cdecls.pbxbtree
Binary file not shown.
View
BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/decls.pbxbtree
Binary file not shown.
View
BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/files.pbxbtree
Binary file not shown.
View
BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/imports.pbxbtree
Binary file not shown.
View
BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/pbxindex.header
Binary file not shown.
View
BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/protocols.pbxbtree
Binary file not shown.
View
BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/refs.pbxbtree
Binary file not shown.
View
BIN ...TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/strings.pbxstrings/control
Binary file not shown.
View
BIN ...TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/strings.pbxstrings/strings
Binary file not shown.
View
BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/subclasses.pbxbtree
Binary file not shown.
View
BIN Demo/TableViewPull/build/TableViewPull.build/TableViewPull.pbxindex/symbols0.pbxsymbols
Binary file not shown.
View
BIN EGOTableViewPullRefresh/.DS_Store
Binary file not shown.
View
41 EGOTableViewPullRefresh/Classes/Controller/RootViewController.h
@@ -1,41 +0,0 @@
-//
-// RootViewController.h
-// TableViewPull
-//
-// Created by Devin Doty on 10/16/09October16.
-// Copyright enormego 2009. All rights reserved.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-
-#import "EGORefreshTableHeaderView.h"
-
-@interface RootViewController : UITableViewController <EGORefreshTableHeaderDelegate, UITableViewDelegate, UITableViewDataSource>{
-
- EGORefreshTableHeaderView *_refreshHeaderView;
-
- // Reloading var should really be your tableviews datasource
- // Putting it here for demo purposes
- BOOL _reloading;
-}
-
-- (void)reloadTableViewDataSource;
-- (void)doneLoadingTableViewData;
-@end
View
165 EGOTableViewPullRefresh/Classes/Controller/RootViewController.m
@@ -1,165 +0,0 @@
-//
-// RootViewController.m
-// TableViewPull
-//
-// Created by Devin Doty on 10/16/09October16.
-// Copyright enormego 2009. All rights reserved.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-#import "RootViewController.h"
-
-@implementation RootViewController
-
-- (void)viewDidLoad {
- [super 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)];
- view.delegate = self;
- [self.tableView addSubview:view];
- _refreshHeaderView = view;
- [view release];
-
- }
-
- // update the last update date
- [view refreshLastUpdatedDate];
-
-
-}
-
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
- return YES;
-}
-
-
-#pragma mark -
-#pragma mark UITableViewDataSource
-
-- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
- return 10;
-}
-
-- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
- return 4;
-}
-
-- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
-
- static NSString *CellIdentifier = @"Cell";
-
- UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
- if (cell == nil) {
- cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
- }
-
- // Configure the cell.
-
- return cell;
-}
-
-- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section{
-
- return [NSString stringWithFormat:@"Section %i", section];
-
-}
-
-
-#pragma mark -
-#pragma mark Data Source Loading / Reloading Methods
-
-- (void)reloadTableViewDataSource{
-
- // should be calling your tableviews data source model to reload
- // put here just for demo
- _reloading = YES;
-
-}
-
-- (void)doneLoadingTableViewData{
-
- // model should call this when its done loading
- _reloading = NO;
- [_refreshHeaderView egoRefreshScrollViewDataSourceDidFinishedLoading:self.tableView];
-
-}
-
-
-#pragma mark -
-#pragma mark UIScrollViewDelegate Methods
-
-- (void)scrollViewDidScroll:(UIScrollView *)scrollView{
-
- [_refreshHeaderView egoRefreshScrollViewDidScroll:scrollView];
-
-}
-
-- (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate{
-
- [_refreshHeaderView egoRefreshScrollViewDidEndDragging:scrollView];
-
-}
-
-
-#pragma mark -
-#pragma mark EGORefreshTableHeaderDelegate Methods
-
-- (void)egoRefreshTableHeaderDidTriggerRefresh:(EGORefreshTableHeaderView*)view{
-
- [self reloadTableViewDataSource];
- [self performSelector:@selector(doneLoadingTableViewData) withObject:nil afterDelay:3.0];
-
-}
-
-- (BOOL)egoRefreshTableHeaderDataSourceIsLoading:(EGORefreshTableHeaderView*)view{
-
- return _reloading; // should return if data source model is reloading
-
-}
-
-- (NSDate*)egoRefreshTableHeaderDataSourceLastUpdated:(EGORefreshTableHeaderView*)view{
-
- return [NSDate date]; // should return date data source was last changed
-
-}
-
-
-#pragma mark -
-#pragma mark Memory Management
-
-- (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
-}
-
-- (void)viewDidUnload {
- _refreshHeaderView=nil;
-}
-
-- (void)dealloc {
-
- _refreshHeaderView = nil;
- [super dealloc];
-}
-
-
-@end
-

0 comments on commit 045ef31

Please sign in to comment.
Something went wrong with that request. Please try again.