Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No rounded corners when using UITableViewCell+FlatUI.h #181

Open
gconno opened this issue Apr 23, 2015 · 0 comments
Open

No rounded corners when using UITableViewCell+FlatUI.h #181

gconno opened this issue Apr 23, 2015 · 0 comments

Comments

@gconno
Copy link

gconno commented Apr 23, 2015

Ive followed the example in the Readme but I cannot seem to get the rounded corners on a tableView cell:

Here is my code:

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
UITableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath];

cell.textLabel.text=self.titles[indexPath.row];

[cell configureFlatCellWithColor:[UIColor greenSeaColor]
                   selectedColor:[UIColor cloudsColor]];
cell.cornerRadius = 5.f; //Optional

[cell setCornerRadius:5.0f];
[cell setSeparatorHeight:2.0f]; // optional
return cell;

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant