mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-19 10:49:24 +00:00
Refacoted window and view controller to use windowNibName and nibName. Fixes #164
This commit is contained in:
@@ -56,8 +56,8 @@ typedef NS_ENUM(NSUInteger, MPContentTab) {
|
||||
|
||||
@implementation MPInspectorViewController
|
||||
|
||||
- (id)init {
|
||||
return [[MPInspectorViewController alloc] initWithNibName:@"InspectorView" bundle:nil];
|
||||
- (NSString *)nibName {
|
||||
return @"InspectorView";
|
||||
}
|
||||
|
||||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
|
||||
|
||||
Reference in New Issue
Block a user