11#import "SceneDelegate.h"
13#import "AboutController.h"
14#import "BookmarkListController.h"
15#import "AppSettingsController.h"
16#import "MainTabBarController.h"
20@synthesize window = _window;
22- (void)scene:(UIScene *)scene
23 willConnectToSession:(UISceneSession *)session
24 options:(UISceneConnectionOptions *)connectionOptions
26 if (![scene isKindOfClass:[UIWindowScene class]])
29 UIWindowScene *windowScene = (UIWindowScene *)scene;
30 _window = [[UIWindow alloc] initWithWindowScene:windowScene];
37 bundle:nil] autorelease];
38 UINavigationController *bookmarkNavigationController = [[[UINavigationController alloc]
39 initWithRootViewController:bookmarkListController] autorelease];
44 UINavigationController *appSettingsNavigationController = [[[UINavigationController alloc]
45 initWithRootViewController:appSettingsController] autorelease];
53 [NSArray arrayWithObjects:bookmarkNavigationController, appSettingsNavigationController,
54 aboutViewController, nil];
55 [tabBarController setViewControllers:tabItems];
57 [_window setRootViewController:tabBarController];
58 [_window makeKeyAndVisible];