mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 11:42:30 +00:00
Removed unused property
This commit is contained in:
@@ -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 {
|
||||
|
||||
13
MacPass/MPObjectController.h
Normal file
13
MacPass/MPObjectController.h
Normal 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
|
||||
13
MacPass/MPObjectController.m
Normal file
13
MacPass/MPObjectController.m
Normal 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
|
||||
Reference in New Issue
Block a user