mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 16:22:21 +00:00
Refacoted window and view controller to use windowNibName and nibName. Fixes #164
This commit is contained in:
@@ -27,9 +27,8 @@ typedef NS_ENUM(NSUInteger, MPDatePreset) {
|
||||
|
||||
@implementation MPDatePickingViewController
|
||||
|
||||
- (id)init {
|
||||
self = [self initWithNibName:@"DatePickingView" bundle:nil];
|
||||
return self;
|
||||
- (NSString *)nibName {
|
||||
return @"DatePickingView";
|
||||
}
|
||||
|
||||
- (void)awakeFromNib {
|
||||
|
||||
Reference in New Issue
Block a user