Created
May 16, 2016 13:29
-
-
Save craigmarvelley/4d74680111527ed0826ac65a1b3b6c12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)showNoteSplitViewWithDataController:(DataController *)dataController searchController:(SearchController *)searchController { | |
NSParameterAssert(dataController); | |
NSParameterAssert(searchController); | |
NSString *authenticatedUserId = self.applicationSessionCredentialStore.userId; | |
NoteSplitViewAssembly *assembly = [self.assembly noteSplitViewAssemblyWithApplicationSession:self.applicationSession dataController:dataController searchController:searchController authenticatedUserId:authenticatedUserId]; | |
[assembly activate]; | |
NoteSplitViewCoordinator *coordinator = [assembly noteSplitViewCoordinatorWithWindow:self.window fetchCompletionHandler:self.fetchCompletionHandler]; | |
coordinator.delegate = self; | |
[self.childCoordinators addObject:coordinator]; | |
[coordinator start]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment