Permalink
Browse files

Fix semantic warnings in Hackbook iOS sample app

Summary: Use UITableViewCellSelectionStyleNone instead of
UITableViewCellEditingStyleNone for selectionStyle.

Test Plan: On iOS simulator 5.0 test Hackbook iOS sample app, publish feed,
graph api sections.

Reviewers: brent

Reviewed By: brent

CC: lshepard, yariv, brent

Differential Revision: 365804

Revert Plan: OK
  • Loading branch information...
1 parent e9df551 commit 74358cde8ad42b7bf73f5cf575750652cad4eeaf Christine Abernathy committed Nov 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 sample/Hackbook/Hackbook/RootViewController.m
@@ -325,7 +325,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
- cell.selectionStyle = UITableViewCellEditingStyleNone;
+ cell.selectionStyle = UITableViewCellSelectionStyleNone;
}
//create the button

0 comments on commit 74358cd

Please sign in to comment.