Add beginnings of placeholder logic

This commit is contained in:
Gregory John Casamento 2020-07-04 17:30:43 -04:00
parent 1e565994cd
commit fb2c219a8c
7 changed files with 142 additions and 13 deletions

View file

@ -202,7 +202,6 @@
if (should)
{
NSStoryboardSegue *segue = [_segueMap objectForKey: identifier];
NSStoryboard *ms = [NSStoryboard mainStoryboard];
id destCon = nil;
if ([[segue destinationController] isKindOfClass: [NSViewController class]] ||
[[segue destinationController] isKindOfClass: [NSWindowController class]])
@ -212,7 +211,7 @@
else
{
NSString *destId = [segue destinationController];
destCon = [ms instantiateControllerWithIdentifier: destId];
destCon = [_storyboard instantiateControllerWithIdentifier: destId];
}
[segue _setSourceController: self];
[segue _setDestinationController: destCon]; // replace with actual controller...