Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
Christine Abernathy authored and Christine Abernathy committed Nov 23, 2011
1 parent e9df551 commit 74358cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/Hackbook/Hackbook/RootViewController.m
Expand Up @@ -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
Expand Down

0 comments on commit 74358cd

Please sign in to comment.