Return to Snippet

Revision: 18569
at October 2, 2009 10:00 by kokikr


Initial Code
CGFloat bottomRightCorner = --different conditions--;
		
		TTImageView *tImageView = (TTImageView *)[cell viewWithTag:2009];
		if (tImageView == nil) {
			tImageView = [[TTImageView alloc] initWithFrame:CGRectMake(10, 1, 75, 75)];
			tImageView.tag = 2009;
			tImageView.backgroundColor = [UIColor clearColor];
			[cell addSubview:tImageView];
		}
		tImageView.style = [TTShapeStyle styleWithShape:
			[TTRoundedRectangleShape shapeWithTopLeft:10 topRight:0 bottomRight:0 bottomLeft:bottomRightCorner] next:
			[TTContentStyle styleWithNext:nil]]; 
		tImageView.image = --image--;

Initial URL

                                

Initial Description

                                

Initial Title
three20 one/two corners rounded image view

Initial Tags

                                

Initial Language
Objective C