IconSelectionView now can be used to set default icons. Setting other Icons is broken for now. Setting custom icons doesn't work at all.

This commit is contained in:
michael starke
2013-12-01 02:29:37 +01:00
parent 36e493101a
commit 1a6d5114b9
10 changed files with 227 additions and 857 deletions

View File

@@ -14,6 +14,10 @@
@implementation KPKNode (IconImage)
+ (NSSet *)keyPathsForValuesAffectingIconImage {
return [NSSet setWithArray:@[@"customIcon", @"icon"]];
}
- (NSImage *)iconImage {
if(self.customIcon) {
return self.customIcon.image;