Skip to content

Instantly share code, notes, and snippets.

Created Sep 29, 2008
What would you like to do?
@implementation TheCell : CPView
id myRepresentedObject
- (void)mouseDragged:(CPEvent)anEvent
var dragView = [[TheCell alloc] initWithFrame:[self bounds]];
[dragView setRepresentedObject:myRepresentedObject];
[self dragView:dragView ... etc. ...];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment