Added localization stubbs for IconSelectionView

This commit is contained in:
michael starke
2014-11-10 12:45:20 +01:00
parent 32840c7fd8
commit 1f8983c52d
10 changed files with 65 additions and 9 deletions

View File

@@ -14,6 +14,14 @@
NSInteger const kMPDefaultIcon = -1;
@interface MPIconSelectViewController ()
@property (nonatomic, assign) NSInteger selectedIcon;
@property (nonatomic, assign) BOOL didCancel;
/* UI properties */
@property (weak) IBOutlet NSCollectionView *iconCollectionView;
@property (weak) IBOutlet NSButton *imageButton;
@end
@implementation MPIconSelectViewController
@@ -26,6 +34,7 @@ NSInteger const kMPDefaultIcon = -1;
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
_didCancel = YES;
_selectedIcon = kMPDefaultIcon;
}
return self;
}