mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-13 15:52:19 +00:00
26 lines
397 B
Objective-C
26 lines
397 B
Objective-C
//
|
|
// MPPathControl.m
|
|
// MacPass
|
|
//
|
|
// Created by Christoph Leimbrock on 8/7/17.
|
|
//
|
|
|
|
#import "MPPathControl.h"
|
|
@implementation MPPathControl
|
|
@dynamic delegate;
|
|
|
|
- (BOOL)canBecomeKeyView {
|
|
return YES;
|
|
}
|
|
|
|
- (BOOL)acceptsFirstResponder {
|
|
return YES;
|
|
}
|
|
|
|
- (BOOL)becomeFirstResponder {
|
|
[self.delegate performSelector:@selector(pathControlDidBecomeKey:) withObject:self];
|
|
return YES;
|
|
}
|
|
|
|
@end
|