Skip to content

Instantly share code, notes, and snippets.

@tkreuder
Created June 25, 2013 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tkreuder/5862063 to your computer and use it in GitHub Desktop.
Save tkreuder/5862063 to your computer and use it in GitHub Desktop.
- (void)drawRect:(CGRect)rect
{
contextRef = UIGraphicsGetCurrentContext();
[self parseFile];
}
-(void)parseFile{
//if certain condition draw e.g. circle at x/y
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment