Remove some unneeded code.
This commit is contained in:
1 parent
521bdb0db6
commit
9bc1b77f2f
2 files changed
+2
-12
No files matched your search
@@ -10,10 +10,7 @@
|
|||||||
#import "SBLogger.h"
|
#import "SBLogger.h"
|
||||||
|
|
||||||
@interface SBLogWindowController ()
|
@interface SBLogWindowController ()
|
||||||
{
|
|
||||||
NSTextView *__unsafe_unretained _logView;
|
|
||||||
SBLogger *_logger;
|
|
||||||
}
|
|
||||||
@property (nonatomic, unsafe_unretained) IBOutlet NSTextView *logView;
|
@property (nonatomic, unsafe_unretained) IBOutlet NSTextView *logView;
|
||||||
@property (nonatomic, readonly) SBLogger *logger;
|
@property (nonatomic, readonly) SBLogger *logger;
|
||||||
|
|
||||||
@@ -21,9 +18,6 @@
|
|||||||
|
|
||||||
@implementation SBLogWindowController
|
@implementation SBLogWindowController
|
||||||
|
|
||||||
@synthesize logView = _logView;
|
|
||||||
@synthesize logger = _logger;
|
|
||||||
|
|
||||||
- (instancetype)init {
|
- (instancetype)init {
|
||||||
if ((self = [super initWithWindowNibName:@"SBLogWindow"])) {
|
if ((self = [super initWithWindowNibName:@"SBLogWindow"])) {
|
||||||
(void)self.window;
|
(void)self.window;
|
||||||
@@ -52,7 +46,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (IBAction)clearLog:(id)sender {
|
- (IBAction)clearLog:(id)sender {
|
||||||
[(self.logView).textStorage deleteCharactersInRange:NSMakeRange(0, (self.logView).textStorage.length)];
|
[self.logView.textStorage deleteCharactersInRange:NSMakeRange(0, (self.logView).textStorage.length)];
|
||||||
[self.logger clearLog];
|
[self.logger clearLog];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,10 +10,6 @@
|
|||||||
#import "SBLogger.h"
|
#import "SBLogger.h"
|
||||||
|
|
||||||
@interface SBLogger ()
|
@interface SBLogger ()
|
||||||
{
|
|
||||||
NSURL *_fileURL;
|
|
||||||
id <MP42Logging> __unsafe_unretained _delegate;
|
|
||||||
}
|
|
||||||
|
|
||||||
@property (nonatomic, readonly) NSURL *fileURL;
|
@property (nonatomic, readonly) NSURL *fileURL;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user