Where to write the code for drawing square in UITableViewCell in iPhone
<p>I have the following code to draw a square outline with the following code.</p>

<pre><code>CGContextRef context = UIGraphicsGetCurrentContext();
CGContextClipToRect(context, CGRectMake(0.0, 00.0, 50, 50));
CGContextSetLineWidth(context, 3.0);
CGContextSetRGBStrokeColor(context, 1.0, 0.0, 0.0, 1.0);
CGContextStrokeRect(context, CGContextGetClipBoundingBox(context));
</code></pre>

<p>I want to draw this square into UITableViewCell. So where should I write the cocde to draw a square in that cell.
I want to draw</p>
