Skip to content

Instantly share code, notes, and snippets.

@jfahrenkrug
Created December 24, 2009 11:01
Show Gist options
  • Save jfahrenkrug/263146 to your computer and use it in GitHub Desktop.
Save jfahrenkrug/263146 to your computer and use it in GitHub Desktop.
#import "IconCollectionItem.h"
@implementation IconCollectionItem
- (void)doubleClick:(id)sender {
NSLog(@"double click in the collectionItem");
if([self collectionView] && [[self collectionView] delegate] && [[[self collectionView] delegate] respondsToSelector:@selector(doubleClick:)]) {
[[[self collectionView] delegate] performSelector:@selector(doubleClick:) withObject:self];
}
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment