Skip to content

Instantly share code, notes, and snippets.

@estebanroblesluna
Last active December 20, 2015 05: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 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