Removed unused property

This commit is contained in:
michael starke
2016-08-19 16:57:40 +02:00
parent 654103e833
commit 0f0e187bc8
3 changed files with 26 additions and 3 deletions

View File

@@ -51,7 +51,6 @@ typedef NS_ENUM(NSUInteger, MPEntryTab) {
@property (nonatomic, assign) MPEntryTab activeTab;
@property (strong) NSPopover *activePopover;
@property (strong) NSObjectController *entryController;
@property (readonly, nonatomic) KPKEntry *contentEntry;
//@property (nonatomic, weak) KPKEntry *entry;
@@ -65,7 +64,6 @@ static NSString *kMPContentBindingString1 = @"content.%@";
static NSString *kMPContentBindingString2 = @"content.%@.%@";
static NSString *kMPContentBindingString3 = @"content.%@.%@.%@";
- (NSString *)nibName {
return @"EntryInspectorView";
}
@@ -132,7 +130,6 @@ static NSString *kMPContentBindingString3 = @"content.%@.%@.%@";
- (void)setupBindings:(MPDocument *)document {
[self.entryController bind:NSContentObjectBinding toObject:self withKeyPath:NSStringFromSelector(@selector(representedObject)) options:nil];
// [self.entryController bind:NSContentObjectBinding toObject:document withKeyPath:NSStringFromSelector(@selector(selectedEntry)) options:nil];
}
- (void)registerNotificationsForDocument:(MPDocument *)document {

View File

@@ -0,0 +1,13 @@
//
// MPObjectController.h
// MacPass
//
// Created by Michael Starke on 18/08/16.
// Copyright © 2016 HicknHack Software GmbH. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface MPObjectController : NSObjectController
@end

View File

@@ -0,0 +1,13 @@
//
// MPObjectController.m
// MacPass
//
// Created by Michael Starke on 18/08/16.
// Copyright © 2016 HicknHack Software GmbH. All rights reserved.
//
#import "MPObjectController.h"
@implementation MPObjectController
@end