Removing unused -layoutSubviews code in SpotTableViewCell

This commit is contained in:
Mattt Thompson 2011-09-21 15:50:42 -05:00
parent 3b81cd32a7
commit 69c48f85bb

View file

@ -73,27 +73,4 @@
self.detailTextLabel.text = nil;
}
#pragma mark - UIView
//- (void)layoutSubviews {
// [super layoutSubviews];
//
// CGRect imageViewFrame = self.imageView.frame;
// CGRect textLabelFrame = self.textLabel.frame;
// CGRect detailTextLabelFrame = self.detailTextLabel.frame;
//
// imageViewFrame.origin = CGPointMake(10.0f, 10.0f);
// imageViewFrame.size = CGSizeMake(50.0f, 50.0f);
//
// textLabelFrame.origin.x = imageViewFrame.size.width + 25.0f;
// detailTextLabelFrame.origin.x = textLabelFrame.origin.x;
//
// textLabelFrame.size.width = 240.0f;
// detailTextLabelFrame.size.width = textLabelFrame.size.width;
//
// self.textLabel.frame = textLabelFrame;
// self.detailTextLabel.frame = detailTextLabelFrame;
// self.imageView.frame = CGRectIntegral(imageViewFrame);
//}
@end