Skip to content
Browse files

Deleted build directory

  • Loading branch information...
1 parent 10ab04c commit 54717ab06c9ba57dcbb47491969fbf6c9a72ee87 @camh committed Mar 2, 2010
View
4 CHGridLayout/CHGridLayout.m
@@ -14,7 +14,7 @@
#include <sys/types.h>
#include <sys/sysctl.h>
-#define SLOW_DEVICE_PRELOAD 3.0f
+#define SLOW_DEVICE_PRELOAD 2.0f
@implementation CHGridLayout
@synthesize index, justTiles, gridWidth, contentHeight, padding, perLine, preLoadMultiplier, rowHeight, sectionTitleHeight;
@@ -30,7 +30,7 @@ - (id)init{
if(justTiles == nil)
justTiles = [[NSMutableArray alloc] init];
- preLoadMultiplier = 5.0f;
+ preLoadMultiplier = 6.0f;
contentHeight = 0.0f;
rowHeight = 0.0f;
View
39 CHGridTestApp/CHGridTestApp.xcodeproj/camh.mode1v3
@@ -265,13 +265,17 @@
<array>
<string>29B97314FDCFA39411CA2CEA</string>
<string>080E96DDFE201D6D7F000001</string>
+ <string>B1E79E12113CEFB400253EE0</string>
+ <string>B1E79E13113CEFC200253EE0</string>
<string>29B97317FDCFA39411CA2CEA</string>
<string>1C37FABC05509CD000000102</string>
</array>
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
- <integer>5</integer>
+ <integer>17</integer>
+ <integer>15</integer>
+ <integer>6</integer>
<integer>1</integer>
<integer>0</integer>
</array>
@@ -296,7 +300,7 @@
<real>259</real>
</array>
<key>RubberWindowFrame</key>
- <string>67 135 960 1043 0 0 1920 1178 </string>
+ <string>134 135 960 1043 0 0 1920 1178 </string>
</dict>
<key>Module</key>
<string>PBXSmartGroupTreeModule</string>
@@ -314,19 +318,19 @@
<key>PBXProjectModuleGUID</key>
<string>1CE0B20306471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>CHGridViewController.m</string>
+ <string>CHGridLayout.m</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CE0B20406471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>CHGridViewController.m</string>
+ <string>CHGridLayout.m</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>B1E7A10F113CFB4700253EE0</string>
+ <string>B1E7A124113CFFDE00253EE0</string>
<key>history</key>
<array>
<string>B1E79E44113CF25400253EE0</string>
@@ -335,7 +339,9 @@
<string>B1E7A0F2113CF8F900253EE0</string>
<string>B1E7A0F9113CF92300253EE0</string>
<string>B1E7A107113CFA6400253EE0</string>
- <string>B1E7A108113CFA6400253EE0</string>
+ <string>B1E7A111113CFCD300253EE0</string>
+ <string>B1E7A120113CFF7100253EE0</string>
+ <string>B1E7A121113CFF7100253EE0</string>
</array>
</dict>
<key>SplitCount</key>
@@ -349,7 +355,7 @@
<key>Frame</key>
<string>{{0, 0}, {679, 997}}</string>
<key>RubberWindowFrame</key>
- <string>67 135 960 1043 0 0 1920 1178 </string>
+ <string>134 135 960 1043 0 0 1920 1178 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
@@ -369,7 +375,7 @@
<key>Frame</key>
<string>{{0, 1002}, {679, 0}}</string>
<key>RubberWindowFrame</key>
- <string>67 135 960 1043 0 0 1920 1178 </string>
+ <string>134 135 960 1043 0 0 1920 1178 </string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
@@ -533,16 +539,15 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
- <string>B1E7A110113CFB4700253EE0</string>
<string>B1E7A0E8113CF7C600253EE0</string>
<string>B1E7A0E6113CF77500253EE0</string>
- <string>1C78EAAD065D492600B07095</string>
<string>1CD10A99069EF8BA00B06720</string>
<string>B1E79E0C113CEF8400253EE0</string>
+ <string>1C78EAAD065D492600B07095</string>
<string>/Users/camh/Desktop/Dropbox/Code/CHGridView/CHGridTestApp/CHGridTestApp.xcodeproj</string>
</array>
<key>WindowString</key>
- <string>67 135 960 1043 0 0 1920 1178 </string>
+ <string>134 135 960 1043 0 0 1920 1178 </string>
<key>WindowToolsV3</key>
<array>
<dict>
@@ -886,18 +891,18 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 0}, {650, 209}}</string>
+ <string>{{0, 0}, {1271, 690}}</string>
<key>RubberWindowFrame</key>
- <string>94 905 650 250 0 0 1920 1178 </string>
+ <string>407 447 1271 731 0 0 1920 1178 </string>
</dict>
<key>Module</key>
<string>PBXDebugCLIModule</string>
<key>Proportion</key>
- <string>209pt</string>
+ <string>690pt</string>
</dict>
</array>
<key>Proportion</key>
- <string>209pt</string>
+ <string>690pt</string>
</dict>
</array>
<key>Name</key>
@@ -917,11 +922,11 @@
<key>ToolbarConfiguration</key>
<string>xcode.toolbar.config.consoleV3</string>
<key>WindowString</key>
- <string>94 905 650 250 0 0 1920 1178 </string>
+ <string>407 447 1271 731 0 0 1920 1178 </string>
<key>WindowToolGUID</key>
<string>1C78EAAD065D492600B07095</string>
<key>WindowToolIsVisible</key>
- <false/>
+ <true/>
</dict>
<dict>
<key>Identifier</key>
View
578 CHGridTestApp/CHGridTestApp.xcodeproj/camh.pbxuser
@@ -59,64 +59,16 @@
PBXWorkspaceStateSaveDate = 289206145;
};
perUserProjectItems = {
- B1E79E29113CEFCC00253EE0 /* PBXTextBookmark */ = B1E79E29113CEFCC00253EE0 /* PBXTextBookmark */;
- B1E79E2A113CEFCC00253EE0 /* PBXBookmark */ = B1E79E2A113CEFCC00253EE0 /* PBXBookmark */;
- B1E79E2B113CEFCC00253EE0 /* PBXTextBookmark */ = B1E79E2B113CEFCC00253EE0 /* PBXTextBookmark */;
- B1E79E42113CF25400253EE0 /* PBXTextBookmark */ = B1E79E42113CF25400253EE0 /* PBXTextBookmark */;
- B1E79E43113CF25400253EE0 /* PBXTextBookmark */ = B1E79E43113CF25400253EE0 /* PBXTextBookmark */;
B1E79E44113CF25400253EE0 /* PBXTextBookmark */ = B1E79E44113CF25400253EE0 /* PBXTextBookmark */;
- B1E79E45113CF25400253EE0 /* PBXTextBookmark */ = B1E79E45113CF25400253EE0 /* PBXTextBookmark */;
- B1E79E46113CF25400253EE0 /* PBXTextBookmark */ = B1E79E46113CF25400253EE0 /* PBXTextBookmark */;
B1E79E57113CF29500253EE0 /* PBXTextBookmark */ = B1E79E57113CF29500253EE0 /* PBXTextBookmark */;
- B1E79E58113CF29500253EE0 /* PBXTextBookmark */ = B1E79E58113CF29500253EE0 /* PBXTextBookmark */;
- B1E79E59113CF29500253EE0 /* PBXTextBookmark */ = B1E79E59113CF29500253EE0 /* PBXTextBookmark */;
- B1E79E5A113CF2B100253EE0 /* PBXTextBookmark */ = B1E79E5A113CF2B100253EE0 /* PBXTextBookmark */;
B1E7A0A8113CF55F00253EE0 /* PlistBookmark */ = B1E7A0A8113CF55F00253EE0 /* PlistBookmark */;
- B1E7A0A9113CF55F00253EE0 /* PBXTextBookmark */ = B1E7A0A9113CF55F00253EE0 /* PBXTextBookmark */;
- B1E7A0AA113CF55F00253EE0 /* PBXTextBookmark */ = B1E7A0AA113CF55F00253EE0 /* PBXTextBookmark */;
- B1E7A0AB113CF55F00253EE0 /* PBXTextBookmark */ = B1E7A0AB113CF55F00253EE0 /* PBXTextBookmark */;
- B1E7A0B0113CF5AD00253EE0 /* PBXTextBookmark */ = B1E7A0B0113CF5AD00253EE0 /* PBXTextBookmark */;
- B1E7A0B1113CF5AD00253EE0 /* PBXTextBookmark */ = B1E7A0B1113CF5AD00253EE0 /* PBXTextBookmark */;
- B1E7A0B2113CF5AD00253EE0 /* PBXTextBookmark */ = B1E7A0B2113CF5AD00253EE0 /* PBXTextBookmark */;
- B1E7A0B5113CF5C100253EE0 /* PBXTextBookmark */ = B1E7A0B5113CF5C100253EE0 /* PBXTextBookmark */;
- B1E7A0B6113CF5CF00253EE0 /* PBXTextBookmark */ = B1E7A0B6113CF5CF00253EE0 /* PBXTextBookmark */;
- B1E7A0B9113CF5DE00253EE0 /* PBXTextBookmark */ = B1E7A0B9113CF5DE00253EE0 /* PBXTextBookmark */;
- B1E7A0BE113CF68800253EE0 /* PBXTextBookmark */ = B1E7A0BE113CF68800253EE0 /* PBXTextBookmark */;
- B1E7A0BF113CF68800253EE0 /* PBXTextBookmark */ = B1E7A0BF113CF68800253EE0 /* PBXTextBookmark */;
- B1E7A0C0113CF68800253EE0 /* PBXTextBookmark */ = B1E7A0C0113CF68800253EE0 /* PBXTextBookmark */;
- B1E7A0C1113CF68800253EE0 /* PBXTextBookmark */ = B1E7A0C1113CF68800253EE0 /* PBXTextBookmark */;
- B1E7A0C2113CF68800253EE0 /* PBXTextBookmark */ = B1E7A0C2113CF68800253EE0 /* PBXTextBookmark */;
- B1E7A0C3113CF68800253EE0 /* PBXTextBookmark */ = B1E7A0C3113CF68800253EE0 /* PBXTextBookmark */;
- B1E7A0C6113CF69100253EE0 /* PBXTextBookmark */ = B1E7A0C6113CF69100253EE0 /* PBXTextBookmark */;
- B1E7A0C9113CF6A500253EE0 /* PBXTextBookmark */ = B1E7A0C9113CF6A500253EE0 /* PBXTextBookmark */;
- B1E7A0CC113CF6B500253EE0 /* PBXTextBookmark */ = B1E7A0CC113CF6B500253EE0 /* PBXTextBookmark */;
- B1E7A0CF113CF6E200253EE0 /* PBXTextBookmark */ = B1E7A0CF113CF6E200253EE0 /* PBXTextBookmark */;
- B1E7A0D2113CF6EA00253EE0 /* PBXTextBookmark */ = B1E7A0D2113CF6EA00253EE0 /* PBXTextBookmark */;
- B1E7A0D5113CF6F800253EE0 /* PBXTextBookmark */ = B1E7A0D5113CF6F800253EE0 /* PBXTextBookmark */;
- B1E7A0D8113CF70700253EE0 /* PBXTextBookmark */ = B1E7A0D8113CF70700253EE0 /* PBXTextBookmark */;
- B1E7A0DB113CF70F00253EE0 /* PBXTextBookmark */ = B1E7A0DB113CF70F00253EE0 /* PBXTextBookmark */;
- B1E7A0DE113CF76200253EE0 /* PBXTextBookmark */ = B1E7A0DE113CF76200253EE0 /* PBXTextBookmark */;
- B1E7A0DF113CF76200253EE0 /* PBXTextBookmark */ = B1E7A0DF113CF76200253EE0 /* PBXTextBookmark */;
- B1E7A0E0113CF76200253EE0 /* PBXTextBookmark */ = B1E7A0E0113CF76200253EE0 /* PBXTextBookmark */;
- B1E7A0E1113CF76200253EE0 /* PBXTextBookmark */ = B1E7A0E1113CF76200253EE0 /* PBXTextBookmark */;
- B1E7A0E4113CF77500253EE0 /* PBXTextBookmark */ = B1E7A0E4113CF77500253EE0 /* PBXTextBookmark */;
- B1E7A0E7113CF7C600253EE0 /* PBXTextBookmark */ = B1E7A0E7113CF7C600253EE0 /* PBXTextBookmark */;
- B1E7A0EF113CF7D300253EE0 /* PBXTextBookmark */ = B1E7A0EF113CF7D300253EE0 /* PBXTextBookmark */;
- B1E7A0F0113CF8F900253EE0 /* PBXTextBookmark */ = B1E7A0F0113CF8F900253EE0 /* PBXTextBookmark */;
- B1E7A0F1113CF8F900253EE0 /* PBXTextBookmark */ = B1E7A0F1113CF8F900253EE0 /* PBXTextBookmark */;
B1E7A0F2113CF8F900253EE0 /* PBXBookmark */ = B1E7A0F2113CF8F900253EE0 /* PBXBookmark */;
- B1E7A0F3113CF8F900253EE0 /* PBXBookmark */ = B1E7A0F3113CF8F900253EE0 /* PBXBookmark */;
- B1E7A0F4113CF8F900253EE0 /* PBXBookmark */ = B1E7A0F4113CF8F900253EE0 /* PBXBookmark */;
B1E7A0F9113CF92300253EE0 /* PBXBookmark */ = B1E7A0F9113CF92300253EE0 /* PBXBookmark */;
- B1E7A0FA113CF92300253EE0 /* PBXTextBookmark */ = B1E7A0FA113CF92300253EE0 /* PBXTextBookmark */;
- B1E7A0FB113CF92300253EE0 /* PBXTextBookmark */ = B1E7A0FB113CF92300253EE0 /* PBXTextBookmark */;
- B1E7A0FE113CF93200253EE0 /* PBXTextBookmark */ = B1E7A0FE113CF93200253EE0 /* PBXTextBookmark */;
- B1E7A101113CF94400253EE0 /* PBXTextBookmark */ = B1E7A101113CF94400253EE0 /* PBXTextBookmark */;
B1E7A107113CFA6400253EE0 /* PBXTextBookmark */ = B1E7A107113CFA6400253EE0 /* PBXTextBookmark */;
- B1E7A108113CFA6400253EE0 /* PBXTextBookmark */ = B1E7A108113CFA6400253EE0 /* PBXTextBookmark */;
- B1E7A109113CFA6400253EE0 /* PBXTextBookmark */ = B1E7A109113CFA6400253EE0 /* PBXTextBookmark */;
- B1E7A10C113CFB2E00253EE0 /* PBXTextBookmark */ = B1E7A10C113CFB2E00253EE0 /* PBXTextBookmark */;
- B1E7A10F113CFB4700253EE0 /* PBXTextBookmark */ = B1E7A10F113CFB4700253EE0 /* PBXTextBookmark */;
+ B1E7A111113CFCD300253EE0 /* PBXTextBookmark */ = B1E7A111113CFCD300253EE0 /* PBXTextBookmark */;
+ B1E7A120113CFF7100253EE0 /* PBXTextBookmark */ = B1E7A120113CFF7100253EE0 /* PBXTextBookmark */;
+ B1E7A121113CFF7100253EE0 /* PBXTextBookmark */ = B1E7A121113CFF7100253EE0 /* PBXTextBookmark */;
+ B1E7A124113CFFDE00253EE0 /* PBXTextBookmark */ = B1E7A124113CFFDE00253EE0 /* PBXTextBookmark */;
};
sourceControlManager = B1E79E0E113CEF8400253EE0 /* Source Control */;
userBuildSettings = {
@@ -175,9 +127,9 @@
};
B1E79E15113CEFC200253EE0 /* CHGridLayout.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {618, 3536}}";
- sepNavSelRange = "{4100, 0}";
- sepNavVisRange = "{2387, 2241}";
+ sepNavIntBoundsRect = "{{0, 0}, {618, 3575}}";
+ sepNavSelRange = "{816, 0}";
+ sepNavVisRange = "{0, 1752}";
};
};
B1E79E1A113CEFC200253EE0 /* CHGridView.h */ = {
@@ -189,9 +141,9 @@
};
B1E79E1B113CEFC200253EE0 /* CHGridView.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {618, 6266}}";
- sepNavSelRange = "{0, 0}";
- sepNavVisRange = "{0, 2087}";
+ sepNavIntBoundsRect = "{{0, 0}, {618, 6318}}";
+ sepNavSelRange = "{1701, 0}";
+ sepNavVisRange = "{0, 2115}";
};
};
B1E79E1C113CEFC200253EE0 /* CHImageTileView.h */ = {
@@ -215,30 +167,6 @@
sepNavVisRange = "{0, 1393}";
};
};
- B1E79E29113CEFCC00253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E1C113CEFC200253EE0 /* CHImageTileView.h */;
- name = "CHImageTileView.h: 1";
- rLen = 0;
- rLoc = 0;
- rType = 0;
- vrLen = 490;
- vrLoc = 0;
- };
- B1E79E2A113CEFCC00253EE0 /* PBXBookmark */ = {
- isa = PBXBookmark;
- fRef = B1E79E20113CEFC200253EE0 /* CHTileView.h */;
- };
- B1E79E2B113CEFCC00253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E20113CEFC200253EE0 /* CHTileView.h */;
- name = "CHTileView.h: 9";
- rLen = 0;
- rLoc = 210;
- rType = 0;
- vrLen = 1393;
- vrLoc = 0;
- };
B1E79E3B113CF1D200253EE0 /* CHGridViewController.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {618, 980}}";
@@ -249,30 +177,10 @@
B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {618, 1768}}";
- sepNavSelRange = "{2954, 0}";
- sepNavVisRange = "{1341, 2081}";
+ sepNavSelRange = "{2318, 0}";
+ sepNavVisRange = "{1343, 2085}";
};
};
- B1E79E42113CF25400253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 1";
- rLen = 0;
- rLoc = 0;
- rType = 0;
- vrLen = 1933;
- vrLoc = 0;
- };
- B1E79E43113CF25400253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3B113CF1D200253EE0 /* CHGridViewController.h */;
- name = "CHGridViewController.h: 4";
- rLen = 187;
- rLoc = 33;
- rType = 0;
- vrLen = 400;
- vrLoc = 0;
- };
B1E79E44113CF25400253EE0 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 1D3623240D0F684500981E51 /* CHGridTestAppAppDelegate.h */;
@@ -283,26 +191,6 @@
vrLen = 490;
vrLoc = 0;
};
- B1E79E45113CF25400253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 1D3623250D0F684500981E51 /* CHGridTestAppAppDelegate.m */;
- name = "CHGridTestAppAppDelegate.m: 20";
- rLen = 0;
- rLoc = 406;
- rType = 0;
- vrLen = 773;
- vrLoc = 0;
- };
- B1E79E46113CF25400253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 1D3623250D0F684500981E51 /* CHGridTestAppAppDelegate.m */;
- name = "CHGridTestAppAppDelegate.m: 16";
- rLen = 0;
- rLoc = 358;
- rType = 0;
- vrLen = 849;
- vrLoc = 0;
- };
B1E79E57113CF29500253EE0 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 1D3623250D0F684500981E51 /* CHGridTestAppAppDelegate.m */;
@@ -313,36 +201,6 @@
vrLen = 849;
vrLoc = 0;
};
- B1E79E58113CF29500253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 1";
- rLen = 0;
- rLoc = 0;
- rType = 0;
- vrLen = 1819;
- vrLoc = 0;
- };
- B1E79E59113CF29500253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 83";
- rLen = 0;
- rLoc = 2424;
- rType = 0;
- vrLen = 1968;
- vrLoc = 946;
- };
- B1E79E5A113CF2B100253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 83";
- rLen = 0;
- rLoc = 2425;
- rType = 0;
- vrLen = 1968;
- vrLoc = 946;
- };
B1E7A0A8113CF55F00253EE0 /* PlistBookmark */ = {
isa = PlistBookmark;
fRef = 8D1107310486CEB800E47090 /* CHGridTestApp-Info.plist */;
@@ -354,382 +212,14 @@
rLen = 0;
rLoc = 9223372036854775807;
};
- B1E7A0A9113CF55F00253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3B113CF1D200253EE0 /* CHGridViewController.h */;
- name = "CHGridViewController.h: 16";
- rLen = 0;
- rLoc = 417;
- rType = 0;
- vrLen = 426;
- vrLoc = 0;
- };
- B1E7A0AA113CF55F00253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 62";
- rLen = 0;
- rLoc = 1934;
- rType = 0;
- vrLen = 1970;
- vrLoc = 945;
- };
- B1E7A0AB113CF55F00253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 40";
- rLen = 0;
- rLoc = 975;
- rType = 0;
- vrLen = 1900;
- vrLoc = 0;
- };
- B1E7A0B0113CF5AD00253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3B113CF1D200253EE0 /* CHGridViewController.h */;
- name = "CHGridViewController.h: 16";
- rLen = 0;
- rLoc = 417;
- rType = 0;
- vrLen = 426;
- vrLoc = 0;
- };
- B1E7A0B1113CF5AD00253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 11";
- rLen = 0;
- rLoc = 282;
- rType = 0;
- vrLen = 1904;
- vrLoc = 0;
- };
- B1E7A0B2113CF5AD00253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 12";
- rLen = 0;
- rLoc = 282;
- rType = 0;
- vrLen = 2039;
- vrLoc = 1188;
- };
- B1E7A0B5113CF5C100253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 50";
- rLen = 0;
- rLoc = 1156;
- rType = 0;
- vrLen = 1731;
- vrLoc = 656;
- };
- B1E7A0B6113CF5CF00253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 49";
- rLen = 0;
- rLoc = 1122;
- rType = 0;
- vrLen = 1731;
- vrLoc = 656;
- };
- B1E7A0B9113CF5DE00253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 51";
- rLen = 0;
- rLoc = 1227;
- rType = 0;
- vrLen = 1731;
- vrLoc = 656;
- };
- B1E7A0BE113CF68800253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E15113CEFC200253EE0 /* CHGridLayout.m */;
- name = "CHGridLayout.m: 145";
- rLen = 0;
- rLoc = 4100;
- rType = 0;
- vrLen = 2241;
- vrLoc = 2387;
- };
- B1E7A0BF113CF68800253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E14113CEFC200253EE0 /* CHGridLayout.h */;
- name = "CHGridLayout.h: 1";
- rLen = 0;
- rLoc = 0;
- rType = 0;
- vrLen = 2038;
- vrLoc = 0;
- };
- B1E7A0C0113CF68800253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E1E113CEFC200253EE0 /* CHSectionHeaderView.h */;
- name = "CHSectionHeaderView.h: 1";
- rLen = 0;
- rLoc = 0;
- rType = 0;
- vrLen = 584;
- vrLoc = 0;
- };
- B1E7A0C1113CF68800253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E1B113CEFC200253EE0 /* CHGridView.m */;
- name = "CHGridView.m: 1";
- rLen = 0;
- rLoc = 0;
- rType = 0;
- vrLen = 2087;
- vrLoc = 0;
- };
- B1E7A0C2113CF68800253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 51";
- rLen = 0;
- rLoc = 1227;
- rType = 0;
- vrLen = 1731;
- vrLoc = 656;
- };
- B1E7A0C3113CF68800253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 50";
- rLen = 0;
- rLoc = 1154;
- rType = 0;
- vrLen = 1710;
- vrLoc = 646;
- };
- B1E7A0C6113CF69100253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 51";
- rLen = 0;
- rLoc = 1186;
- rType = 0;
- vrLen = 1710;
- vrLoc = 646;
- };
- B1E7A0C9113CF6A500253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 50";
- rLen = 0;
- rLoc = 1154;
- rType = 0;
- vrLen = 1710;
- vrLoc = 646;
- };
- B1E7A0CC113CF6B500253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 68";
- rLen = 0;
- rLoc = 1866;
- rType = 0;
- vrLen = 1779;
- vrLoc = 646;
- };
- B1E7A0CF113CF6E200253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 116";
- rLen = 0;
- rLoc = 3161;
- rType = 0;
- vrLen = 2079;
- vrLoc = 1342;
- };
- B1E7A0D2113CF6EA00253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 82";
- rLen = 0;
- rLoc = 2101;
- rType = 0;
- vrLen = 2084;
- vrLoc = 1343;
- };
- B1E7A0D5113CF6F800253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 48";
- rLen = 0;
- rLoc = 1080;
- rType = 0;
- vrLen = 1864;
- vrLoc = 797;
- };
- B1E7A0D8113CF70700253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 48";
- rLen = 1;
- rLoc = 1080;
- rType = 0;
- vrLen = 1863;
- vrLoc = 797;
- };
- B1E7A0DB113CF70F00253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 49";
- rLen = 0;
- rLoc = 1122;
- rType = 0;
- vrLen = 1863;
- vrLoc = 797;
- };
- B1E7A0DE113CF76200253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E1B113CEFC200253EE0 /* CHGridView.m */;
- name = "CHGridView.m: 1";
- rLen = 0;
- rLoc = 0;
- rType = 0;
- vrLen = 2087;
- vrLoc = 0;
- };
- B1E7A0DF113CF76200253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E1A113CEFC200253EE0 /* CHGridView.h */;
- name = "CHGridView.h: 36";
- rLen = 0;
- rLoc = 1120;
- rType = 0;
- vrLen = 2023;
- vrLoc = 0;
- };
- B1E7A0E0113CF76200253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 118";
- rLen = 0;
- rLoc = 3161;
- rType = 0;
- vrLen = 2037;
- vrLoc = 1471;
- };
- B1E7A0E1113CF76200253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 117";
- rLen = 0;
- rLoc = 3143;
- rType = 0;
- vrLen = 2085;
- vrLoc = 1340;
- };
- B1E7A0E4113CF77500253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 117";
- rLen = 0;
- rLoc = 3143;
- rType = 0;
- vrLen = 2085;
- vrLoc = 1340;
- };
- B1E7A0E7113CF7C600253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 73";
- rLen = 0;
- rLoc = 1934;
- rType = 0;
- vrLen = 2085;
- vrLoc = 1340;
- };
- B1E7A0EF113CF7D300253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 85";
- rLen = 0;
- rLoc = 2184;
- rType = 0;
- vrLen = 2085;
- vrLoc = 1340;
- };
- B1E7A0F0113CF8F900253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3B113CF1D200253EE0 /* CHGridViewController.h */;
- name = "CHGridViewController.h: 15";
- rLen = 0;
- rLoc = 417;
- rType = 0;
- vrLen = 400;
- vrLoc = 0;
- };
- B1E7A0F1113CF8F900253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 100";
- rLen = 0;
- rLoc = 2913;
- rType = 0;
- vrLen = 2123;
- vrLoc = 1125;
- };
B1E7A0F2113CF8F900253EE0 /* PBXBookmark */ = {
isa = PBXBookmark;
fRef = B1E79E6E113CF4D100253EE0 /* 115.jpg */;
};
- B1E7A0F3113CF8F900253EE0 /* PBXBookmark */ = {
- isa = PBXBookmark;
- fRef = B1E79E73113CF4D100253EE0 /* 12.jpg */;
- };
- B1E7A0F4113CF8F900253EE0 /* PBXBookmark */ = {
- isa = PBXBookmark;
- fRef = B1E79E73113CF4D100253EE0 /* 12.jpg */;
- };
B1E7A0F9113CF92300253EE0 /* PBXBookmark */ = {
isa = PBXBookmark;
fRef = B1E79E73113CF4D100253EE0 /* 12.jpg */;
};
- B1E7A0FA113CF92300253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3B113CF1D200253EE0 /* CHGridViewController.h */;
- name = "CHGridViewController.h: 15";
- rLen = 0;
- rLoc = 417;
- rType = 0;
- vrLen = 400;
- vrLoc = 0;
- };
- B1E7A0FB113CF92300253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 76";
- rLen = 0;
- rLoc = 2215;
- rType = 0;
- vrLen = 2118;
- vrLoc = 1123;
- };
- B1E7A0FE113CF93200253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 100";
- rLen = 0;
- rLoc = 2913;
- rType = 0;
- vrLen = 2125;
- vrLoc = 1126;
- };
- B1E7A101113CF94400253EE0 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 100";
- rLen = 0;
- rLoc = 2913;
- rType = 0;
- vrLen = 2125;
- vrLoc = 1126;
- };
B1E7A107113CFA6400253EE0 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = B1E79E3B113CF1D200253EE0 /* CHGridViewController.h */;
@@ -740,44 +230,44 @@
vrLen = 426;
vrLoc = 0;
};
- B1E7A108113CFA6400253EE0 /* PBXTextBookmark */ = {
+ B1E7A111113CFCD300253EE0 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 65";
+ name = "CHGridViewController.m: 89";
rLen = 0;
- rLoc = 1971;
+ rLoc = 2318;
rType = 0;
- vrLen = 2126;
- vrLoc = 1125;
+ vrLen = 2085;
+ vrLoc = 1343;
};
- B1E7A109113CFA6400253EE0 /* PBXTextBookmark */ = {
+ B1E7A120113CFF7100253EE0 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 23";
+ fRef = B1E79E1B113CEFC200253EE0 /* CHGridView.m */;
+ name = "CHGridView.m: 59";
rLen = 0;
- rLoc = 648;
+ rLoc = 1701;
rType = 0;
- vrLen = 1856;
+ vrLen = 2115;
vrLoc = 0;
};
- B1E7A10C113CFB2E00253EE0 /* PBXTextBookmark */ = {
+ B1E7A121113CFF7100253EE0 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 110";
+ fRef = B1E79E15113CEFC200253EE0 /* CHGridLayout.m */;
+ name = "CHGridLayout.m: 33";
rLen = 0;
- rLoc = 2954;
+ rLoc = 816;
rType = 0;
- vrLen = 2087;
- vrLoc = 1341;
+ vrLen = 1752;
+ vrLoc = 0;
};
- B1E7A10F113CFB4700253EE0 /* PBXTextBookmark */ = {
+ B1E7A124113CFFDE00253EE0 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
- fRef = B1E79E3C113CF1D200253EE0 /* CHGridViewController.m */;
- name = "CHGridViewController.m: 110";
+ fRef = B1E79E15113CEFC200253EE0 /* CHGridLayout.m */;
+ name = "CHGridLayout.m: 33";
rLen = 0;
- rLoc = 2954;
+ rLoc = 816;
rType = 0;
- vrLen = 2081;
- vrLoc = 1341;
+ vrLen = 1752;
+ vrLoc = 0;
};
}
View
22 CHGridView.m
@@ -56,7 +56,7 @@ - (id)initWithFrame:(CGRect)frame{
perLine = 5;
sectionTitleHeight = 25.0f;
- preLoadMultiplier = 5.0f;
+ preLoadMultiplier = 6.0f;
[self setBackgroundColor:[UIColor whiteColor]];
@@ -96,7 +96,7 @@ - (void)loadVisibleSectionTitlesForSectionRange:(CHSectionRange)range{
CHSectionHeaderView *sectionHeader = nil;
if([[self delegate] respondsToSelector:@selector(titleViewForHeaderOfSection:inGridView:)]){
- sectionHeader = [[self delegate] titleViewForHeaderOfSection:i inGridView:self];
+ sectionHeader = [[self delegate] headerViewForSection:i inGridView:self];
[sectionHeader setFrame:CGRectMake(b.origin.x, yCoordinate, b.size.width, sectionTitleHeight)];
}else{
sectionHeader = [[CHSectionHeaderView alloc] initWithFrame:CGRectMake(b.origin.x, yCoordinate, b.size.width, sectionTitleHeight)];
@@ -240,14 +240,22 @@ - (void)reloadDataAndLayoutUpdateNeeded:(BOOL)layoutNeeded{
}
- (CHTileView *)dequeueReusableTileWithIdentifier:(NSString *)identifier{
+ CHTileView *foundTile = nil;
+ BOOL found = NO;
+
for(CHTileView *tile in reusableTiles){
- if([[tile reuseIdentifier] isEqualToString:identifier]){
- [[tile retain] autorelease];
- [reusableTiles removeObject:tile];
- return tile;
+ if(!found && [[tile reuseIdentifier] isEqualToString:identifier]){
+ foundTile = tile;
+ found = YES;
}
}
- return nil;
+
+ if(foundTile){
+ [[foundTile retain] autorelease];
+ [reusableTiles removeObject:foundTile];
+ }
+
+ return foundTile;
}
#pragma mark view and layout methods

0 comments on commit 54717ab

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