Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Just small compiler warning fixes for latest SDK. Should still be 3.x+ compatible. #15

Merged
merged 1 commit into from

2 participants

@th-in-gs

No description provided.

@danielctull danielctull merged commit 925662f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 13, 2011
  1. @th-in-gs
This page is out of date. Refresh to see the latest.
View
2  DTGridView Project/Classes/DTGridViewAppDelegate.m
@@ -64,7 +64,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
if (!cell)
- cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:@"cell"] autorelease];
+ cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"cell"] autorelease];
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
View
2  DTGridView Project/Classes/DTGridViewExampleDataSourceAndDelegate.m
@@ -159,7 +159,7 @@ - (DTGridViewCell *)gridView:(DTGridView *)gv viewForRow:(NSInteger)rowIndex col
#pragma mark DTGridViewDelegate methods
- (void)gridView:(DTGridView *)gv selectionMadeAtRow:(NSInteger)rowIndex column:(NSInteger)columnIndex {
- NSLog(@"%@:%s %@", self, _cmd, [gv cellForRow:rowIndex column:columnIndex]);
+ NSLog(@"%@:%@ %@", self, NSStringFromSelector(_cmd), [gv cellForRow:rowIndex column:columnIndex]);
}
View
2  DTGridView Project/Classes/DTInfiniteGridViewExampleViewController.m
@@ -85,7 +85,7 @@ - (DTGridViewCell *)gridView:(DTGridView *)gv viewForRow:(NSInteger)rowIndex col
else if (columnIndex == 3)
view.backgroundColor = [UIColor yellowColor];
else
- NSLog(@"%@:%s FAIL: %i", self, _cmd, columnIndex);
+ NSLog(@"%@:%@ FAIL: %i", self, NSStringFromSelector(_cmd), columnIndex);
return [view autorelease];
}
View
2  DTGridView Project/Classes/DTSnapGridViewExampleViewController.m
@@ -60,7 +60,7 @@ - (CGFloat)gridView:(DTGridView *)gv widthForCellAtRow:(NSInteger)rowIndex colum
- (DTGridViewCell *)gridView:(DTGridView *)gv viewForRow:(NSInteger)rowIndex column:(NSInteger)columnIndex {
- NSLog(@"%@:%s", self, _cmd);
+ NSLog(@"%@:%@", self, NSStringFromSelector(_cmd));
DTGridViewCell *cell = [gv dequeueReusableCellWithIdentifier:@"cell"];
View
5 DTGridView Project/DTGridView.xcodeproj/project.pbxproj
@@ -229,6 +229,9 @@
/* Begin PBXProject section */
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ };
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "DTGridView" */;
compatibilityVersion = "Xcode 3.1";
developmentRegion = English;
@@ -320,7 +323,6 @@
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- PREBINDING = NO;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
SDKROOT = iphoneos3.2;
};
@@ -334,7 +336,6 @@
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- PREBINDING = NO;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
SDKROOT = iphoneos;
};
Something went wrong with that request. Please try again.