Expermintes with NSCopying and Iconselection window

This commit is contained in:
michael starke
2013-03-23 00:14:29 +01:00
parent a91c1a64d9
commit 476e18b870
11 changed files with 316 additions and 79 deletions

View File

@@ -30,7 +30,16 @@
}
- (void)didLoadView {
[self.iconCollectionView setSelectable:YES];
[self.iconCollectionView setAllowsMultipleSelection:NO];
[self.iconCollectionView setContent:[MPIconHelper availableIcons]];
}
- (IBAction)useDefault:(id)sender {
SEL hidePopup = @selector(hideImagePopup:);
id target = [[NSApplication sharedApplication] targetForAction:hidePopup to:nil from:self];
if( target ) {
[target performSelector:hidePopup withObject:self];
}
}
@end