Hello people, Im an absolute newb here but anyways. I created a new view based application and pasted the following code into the ViewController.m file, what else do i need to do to get it to display:
Code:
Im sorry for the simple question, but i cant seem to find any good CG tutorials
Code:
Code:
- (void)drawRect:(CGRect)rect
{
CGContextRef ctx = UIGraphicsGetCurrentContext();
CGContextClearRect(ctx, rect);
}
Im sorry for the simple question, but i cant seem to find any good CG tutorials