Instantly share code, notes, and snippets.

Embed
What would you like to do?
- (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