mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-19 16:49:24 +00:00
use properties
This commit is contained in:
@@ -165,12 +165,12 @@ typedef NS_ENUM(NSUInteger, MPContentTab) {
|
||||
#pragma mark -
|
||||
#pragma mark Popup
|
||||
- (IBAction)pickIcon:(id)sender {
|
||||
NSAssert([sender isKindOfClass:[NSView class]], @"");
|
||||
NSAssert([sender isKindOfClass:NSView.class], @"");
|
||||
[self _popupViewController:[[MPIconSelectViewController alloc] init] atView:(NSView *)sender];
|
||||
}
|
||||
|
||||
- (IBAction)pickExpiryDate:(id)sender {
|
||||
NSAssert([sender isKindOfClass:[NSView class]], @"");
|
||||
NSAssert([sender isKindOfClass:NSView.class], @"");
|
||||
[self _popupViewController:[[MPDatePickingViewController alloc] init] atView:(NSView *)sender];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user