customTableView now does not rely on windowController for observer lookup

This commit is contained in:
michael starke
2017-02-04 00:14:36 +01:00
parent 2e7e032007
commit 2d6582240d
5 changed files with 13 additions and 5 deletions

View File

@@ -7,6 +7,7 @@
//
#import <Cocoa/Cocoa.h>
#import "MPModelChangeObserving.h"
@interface MPCustomFieldTableCellView : NSTableCellView
@@ -14,4 +15,6 @@
@property (nonatomic, weak) IBOutlet NSTextField *valueTextField;
@property (nonatomic, weak) IBOutlet NSButton *removeButton;
@property (weak) id<MPModelChangeObserving> observer;
@end