Permalink
Browse files

Minor cleanup

  • Loading branch information...
1 parent 2a072fc commit 5cc634cb92be4531cf2f4e52ba0960161799074e @thermogl committed May 1, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 SwipeableExample/Classes/ExampleCell.m
@@ -39,10 +39,7 @@ - (void)backViewWillAppear:(BOOL)animated {
- (void)backViewDidDisappear:(BOOL)animated {
// Remove any subviews from the backView.
-
- for (UIView * subview in self.backView.subviews){
- [subview removeFromSuperview];
- }
+ [self.backView.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
}
- (void)drawContentView:(CGRect)rect {

6 comments on commit 5cc634c

@aliimran

i am facing cell overlapping problem, any solutions?

@thermogl
Owner

This commit has caused the issue?

@aliimran

i don't remember which commit i am using... but let me try it with this commit.

@aliimran

yup, similar issue...

i have just changed this line,

UIColor * textColour = (self.selected || self.highlighted) ? [UIColor whiteColor] : [UIColor whiteColor];

so that the text may appear visible.. and when i scroll up or down, overlapping occurs.

@thermogl
Owner

See the new commits - I'm not experiencing any overlap.

@aliimran

yeah... new commit works fine. thanks :)

Please sign in to comment.