iOS web browser with a focus on security and privacy
at master 38 lines 1.1 kB view raw
1/* 2 * Endless 3 * Copyright (c) 2014-2017 joshua stein <jcs@jcs.org> 4 * 5 * See LICENSE file for redistribution terms. 6 */ 7 8#import <UIKit/UIKit.h> 9#import <CoreData/CoreData.h> 10 11#import "CookieJar.h" 12#import "HSTSCache.h" 13#import "WebViewController.h" 14 15#define STATE_RESTORE_TRY_KEY @"state_restore_lock" 16 17@interface AppDelegate : UIResponder <UIApplicationDelegate> 18 19@property (strong, nonatomic) UIWindow *window; 20 21@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext; 22@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel; 23@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator; 24 25@property (strong, atomic) WebViewController *webViewController; 26@property (strong, atomic) CookieJar *cookieJar; 27@property (strong, atomic) HSTSCache *hstsCache; 28 29@property (readonly, strong, nonatomic) NSMutableDictionary *searchEngines; 30 31@property (strong, atomic) NSString *defaultUserAgent; 32@property (strong, atomic) NSURL *urlToOpenAtLaunch; 33 34- (BOOL)areTesting; 35- (void)adjustMuteSwitchBehavior; 36 37@end 38