Skip to content

Instantly share code, notes, and snippets.

@estebanroblesluna
Last active December 20, 2015 05:29
Show Gist options
  • Save estebanroblesluna/6079207 to your computer and use it in GitHub Desktop.
Save estebanroblesluna/6079207 to your computer and use it in GitHub Desktop.
- (id) initWithFrame: (CGRect) aFrame
{
[super initWithFrame: aFrame];
[self backgroundColor: [CPColor whiteColor]];
[self foregroundColor: [CPColor blackColor]];
[handles addObject: [Handle target: self selector: @"topLeft"]];
[handles addObject: [Handle target: self selector: @"topRight"]];
[handles addObject: [Handle target: self selector: @"bottomLeft"]];
[handles addObject: [Handle target: self selector: @"bottomRight"]];
return self;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment