Objective-CclassITMLKit
IKAppContext
@interface IKAppContext : NSObject <ISURLOperationDelegate, IKAppCacheDelegate, IKJSInspectorControllerDelegate>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolISURLOperationDelegate
- protocolIKAppCacheDelegate
- protocolIKJSInspectorControllerDelegate
Members 189
- method
+ (id)currentAppContext; - method
+ (BOOL)isInFactoryMode; - method
+ (void)registerPrivateProtocols:(id)arg0 forClass:(Class)arg1; - ivar
id <IKApplication> _app;+0x38 - ivar
IKAppCache *_appCache;+0x68 - ivar
id <IKAppScriptFallbackHandler> _appScriptFallbackHandler;+0x50 - ivar
double _appScriptTimeoutInterval;+0x58 - ivar
BOOL _appUsesDefaultStyleSheets;+0x36 - ivar
IKJSArrayBufferStore *_arrayBufferStore;+0x8 - ivar
BOOL _canAccessPendingQueue;+0x33 - ivar
BOOL _canRequireSystemTrustForXHRs;+0x31 - ivar
id <IKAppContextDelegate> _delegate;+0x48 - ivar
struct { BOOL respondsToHighlightViewForOneElement; BOOL respondsToHighlightViewsForManyElements; BOOL respondsToCancelHighlightForAppContext; BOOL respondsToDidInspectElementModeChanged; } _delegateFlags;+0x2a - ivar
BOOL _isAirplaneModeEnabled;+0x29 - ivar
BOOL _isValid;+0x2e - ivar
IKJSApplication *_jsApp;+0xb0 - ivar
JSContext *_jsContext;+0x60 - ivar
IKJSFoundation *_jsFoundation;+0xb8 - ivar
struct __CFRunLoop *_jsThreadRunLoop;+0x10 - ivar
struct __CFRunLoopSource *_jsThreadRunLoopSource;+0x18 - ivar
IKJSViewModelService *_jsViewModelService;+0xc8 - ivar
IKJSWeakMap *_jsWeakMap;+0xc0 - ivar
NSObject<OS_dispatch_source> *_lowMemoryWarningSource;+0x20 - ivar
BOOL _mescalPrimeEnabledForXHRRequests;+0x30 - ivar
unsigned long long _mode;+0x40 - ivar
NSString *_nextJSChecksum;+0x70 - ivar
NSMutableArray *_onStartQueue;+0x78 - ivar
NSMutableArray *_pendingQueue;+0x98 - ivar
NSMutableArray *_postEvaluationBlocks;+0xa8 - ivar
BOOL _privileged;+0x35 - ivar
IKAppReloadContext *_reloadContext;+0x90 - ivar
BOOL _remoteInspectionEnabled;+0x2f - ivar
NSURL *_resolvedBootURL;+0xa0 - ivar
BOOL _respondsToTraitCollection;+0x28 - ivar
NSError *_responseError;+0x88 - ivar
NSString *_responseScript;+0x80 - ivar
BOOL _running;+0x34 - ivar
BOOL _trusted;+0x32 - ivar
IKViewElementRegistry *_viewElementRegistry;+0xd0 - ivar
IKJSInspectorController *_webInspectorController;+0xd8 - method
- (void).cxx_destruct; - method
- (void)_addStopRecordToPendingQueueWithReload:(BOOL)arg0; - method
- (id)_appTraitCollection; - method
- (void)_dispatchError:(id)arg0; - method
- (void)_doEvaluate:(id /* block */)arg0; - method
- (void)_drainOnStartQueue; - method
- (void)_enqueueOnStartOrExecute:(id /* block */)arg0; - method
- (id)_errorWithMessage:(id)arg0; - method
- (void)_evaluate:(id /* block */)arg0; - method
- (void)_evaluateFoundationWithDeviceConfig:(id)arg0 addPrivateInterfaces:(BOOL)arg1; - method
- (void)_invalidateJSThread; - method
- (void)_jsThreadMain; - method
- (void)_networkPropertiesChanged:(id)arg0; - method
- (id)_preferredLaunchURL; - method
- (BOOL)_prepareStartWithURL:(id)arg0; - method
- (void)_sourceCanceledOnRunLoop:(struct __CFRunLoop *)arg0; - method
- (void)_sourcePerform; - method
- (void)_sourceScheduledOnRunLoop:(struct __CFRunLoop *)arg0; - method
- (void)_startWithScript:(id)arg0 scriptUrl:(id)arg1 wasLoadedFromFallback:(BOOL)arg2; - method
- (void)_startWithURL:(id)arg0 urlTrusted:(BOOL)arg1; - method
- (void)_stopAndReload:(BOOL)arg0; - method
- (void)addPostEvaluateBlock:(id /* block */)arg0; - method
- (id)app; - method
- (id)appCache; - method
- (void)appCache:(id)arg0 didUpdateWithChecksum:(id)arg1; - method
- (id)appScriptFallbackHandler; - method
- (double)appScriptTimeoutInterval; - method
- (void)appTraitCollectionChanged:(id)arg0; - method
- (BOOL)appUsesDefaultStyleSheets; - method
- (id)arrayBufferStore; - method
- (BOOL)canAccessPendingQueue; - method
- (BOOL)canRequireSystemTrustForXHRs; - method
- (BOOL)cancelHighlightView; - method
- (void)contextDidFailWithError:(id)arg0; - method
- (void)contextDidStartWithJS:(id)arg0 options:(id)arg1; - method
- (void)contextDidStopWithOptions:(id)arg0; - method
- (void)dealloc; - method
- (id)delegate; - method
- (void)evaluate:(id /* block */)arg0 completionBlock:(id /* block */)arg1; - method
- (void)evaluateDelegateBlockSync:(id /* block */)arg0; - method
- (void)evaluateFoundationJS; - method
- (void)exitAppWithOptions:(id)arg0; - method
- (void)handleCacheUpdate; - method
- (void)handleReloadWithUrgencyType:(unsigned long long)arg0 minInterval:(double)arg1 data:(id)arg2; - method
- (BOOL)highlightViewForElementWithID:(long long)arg0 contentColor:(id)arg1 paddingColor:(id)arg2 borderColor:(id)arg3 marginColor:(id)arg4; - method
- (BOOL)highlightViewsForElementsWithIDs:(id)arg0 contentColor:(id)arg1 paddingColor:(id)arg2 borderColor:(id)arg3 marginColor:(id)arg4; - method
- (id)initWithApplication:(id)arg0 mode:(unsigned long long)arg1 cache:(BOOL)arg2 delegate:(id)arg3; - method
- (id)initWithApplication:(id)arg0 mode:(unsigned long long)arg1 delegate:(id)arg2; - method
- (void)inspectElement:(id)arg0; - method
- (void)inspectElementModeChanged:(BOOL)arg0; - method
- (BOOL)isFeatureEnabled:(id)arg0; - method
- (BOOL)isInspectElementModeEnabled; - method
- (BOOL)isPrivileged; - method
- (BOOL)isRunning; - method
- (BOOL)isTrusted; - method
- (BOOL)isValid; - method
- (id)jsApp; - method
- (id)jsContext; - method
- (id)jsFoundation; - method
- (id)jsViewModelService; - method
- (id)jsWeakMap; - method
- (void)launchAppWithOptions:(id)arg0; - method
- (BOOL)mescalPrimeEnabledForXHRRequests; - method
- (unsigned long long)mode; - method
- (id)nextJSChecksum; - method
- (id)onStartQueue; - method
- (void)openURLWithOptions:(id)arg0; - method
- (void)operation:(id)arg0 failedWithError:(id)arg1; - method
- (void)operation:(id)arg0 finishedWithOutput:(id)arg1; - method
- (id)pendingQueue; - method
- (id)postEvaluationBlocks; - method
- (id)registerLoaderWithIdentifier:(id)arg0; - method
- (void)reload; - method
- (id)reloadContext; - method
- (BOOL)remoteInspectionEnabled; - method
- (void)resetFoundationJS; - method
- (id)resolvedBootURL; - method
- (id)responseError; - method
- (id)responseScript; - method
- (void)resumeWithOptions:(id)arg0; - method
- (void)setAppScriptFallbackHandler:(id)arg0; - method
- (void)setAppScriptTimeoutInterval:(double)arg0; - method
- (void)setCanAccessPendingQueue:(BOOL)arg0; - method
- (void)setCanRequireSystemTrustForXHRs:(BOOL)arg0; - method
- (void)setException:(id)arg0 withErrorMessage:(id)arg1; - method
- (void)setIsValid:(BOOL)arg0; - method
- (void)setJsApp:(id)arg0; - method
- (void)setJsContext:(id)arg0; - method
- (void)setJsFoundation:(id)arg0; - method
- (void)setJsViewModelService:(id)arg0; - method
- (void)setJsWeakMap:(id)arg0; - method
- (void)setMescalPrimeEnabledForXHRRequests:(BOOL)arg0; - method
- (void)setNextJSChecksum:(id)arg0; - method
- (void)setPendingQueue:(id)arg0; - method
- (void)setPostEvaluationBlocks:(id)arg0; - method
- (void)setPrivileged:(BOOL)arg0; - method
- (void)setReloadContext:(id)arg0; - method
- (void)setRemoteInspectionEnabled:(BOOL)arg0; - method
- (void)setResponseError:(id)arg0; - method
- (void)setResponseScript:(id)arg0; - method
- (void)setRunning:(BOOL)arg0; - method
- (void)setTrusted:(BOOL)arg0; - method
- (void)setWebInspectorController:(id)arg0; - method
- (void)start; - method
- (void)stop; - method
- (void)suspendWithOptions:(id)arg0; - method
- (void)unregisterLoaderWithIdentifier:(id)arg0; - method
- (BOOL)validateDOMDocument:(id)arg0 error:(id *)arg1; - method
- (id)viewElementRegistry; - method
- (id)webInspectorController; - method
- (void)willPerformXhrRequest:(id)arg0; - property
@property(readonly, weak, nonatomic) id <IKApplication> app; - property
@property(readonly, nonatomic) IKAppCache *appCache; - property
@property(retain, nonatomic) id <IKAppScriptFallbackHandler> appScriptFallbackHandler; - property
@property(nonatomic) double appScriptTimeoutInterval; - property
@property(readonly, nonatomic) BOOL appUsesDefaultStyleSheets; - property
@property(readonly, nonatomic) IKJSArrayBufferStore *arrayBufferStore; - property
@property(nonatomic) BOOL canAccessPendingQueue; - property
@property(nonatomic) BOOL canRequireSystemTrustForXHRs; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, weak, nonatomic) id <IKAppContextDelegate> delegate; - property
@property(readonly, copy) NSString *description; - property
@property(readonly) unsigned long long hash; - property
@property BOOL isValid; - property
@property(retain, nonatomic) IKJSApplication *jsApp; - property
@property(retain, nonatomic) JSContext *jsContext; - property
@property(retain, nonatomic) IKJSFoundation *jsFoundation; - property
@property(retain, nonatomic) IKJSViewModelService *jsViewModelService; - property
@property(retain, nonatomic) IKJSWeakMap *jsWeakMap; - property
@property(nonatomic) BOOL mescalPrimeEnabledForXHRRequests; - property
@property(readonly, nonatomic) NSNumber *metricsLoadURLSamplingPercentage; - property
@property(readonly, nonatomic) NSNumber *metricsLoadURLSamplingPercentageCachedResponses; - property
@property(readonly, nonatomic) NSNumber *metricsLoadURLSessionDuration; - property
@property(readonly, nonatomic) unsigned long long mode; - property
@property(copy, nonatomic) NSString *nextJSChecksum; - property
@property(readonly, nonatomic) NSMutableArray *onStartQueue; - property
@property(retain, nonatomic) NSMutableArray *pendingQueue; - property
@property(retain, nonatomic) NSMutableArray *postEvaluationBlocks; - property
@property(getter=isPrivileged, nonatomic) BOOL privileged; - property
@property(retain, nonatomic) IKAppReloadContext *reloadContext; - property
@property(nonatomic) BOOL remoteInspectionEnabled; - property
@property(readonly, copy, nonatomic) NSURL *resolvedBootURL; - property
@property(retain, nonatomic) NSError *responseError; - property
@property(copy, nonatomic) NSString *responseScript; - property
@property(getter=isRunning) BOOL running; - property
@property(readonly) Class superclass; - property
@property(getter=isTrusted, nonatomic) BOOL trusted; - property
@property(readonly, nonatomic) IKViewElementRegistry *viewElementRegistry; - property
@property(retain, nonatomic) IKJSInspectorController *webInspectorController;
Header
@interface IKAppContext : NSObject <ISURLOperationDelegate, IKAppCacheDelegate, IKJSInspectorControllerDelegate> { IKJSArrayBufferStore *_arrayBufferStore; struct __CFRunLoop *_jsThreadRunLoop; struct __CFRunLoopSource *_jsThreadRunLoopSource; NSObject<OS_dispatch_source> *_lowMemoryWarningSource; BOOL _respondsToTraitCollection; BOOL _isAirplaneModeEnabled; struct { BOOL respondsToHighlightViewForOneElement; BOOL respondsToHighlightViewsForManyElements; BOOL respondsToCancelHighlightForAppContext; BOOL respondsToDidInspectElementModeChanged; } _delegateFlags; BOOL _isValid; BOOL _remoteInspectionEnabled; BOOL _mescalPrimeEnabledForXHRRequests; BOOL _canRequireSystemTrustForXHRs; BOOL _trusted; BOOL _canAccessPendingQueue; BOOL _running; BOOL _privileged; BOOL _appUsesDefaultStyleSheets; id<IKApplication> _app; unsigned long long _mode; id<IKAppContextDelegate> _delegate; id<IKAppScriptFallbackHandler> _appScriptFallbackHandler; double _appScriptTimeoutInterval; JSContext *_jsContext; IKAppCache *_appCache; NSString *_nextJSChecksum; NSMutableArray *_onStartQueue; NSString *_responseScript; NSError *_responseError; IKAppReloadContext *_reloadContext; NSMutableArray *_pendingQueue; NSURL *_resolvedBootURL; NSMutableArray *_postEvaluationBlocks; IKJSApplication *_jsApp; IKJSFoundation *_jsFoundation; IKJSWeakMap *_jsWeakMap; IKJSViewModelService *_jsViewModelService; IKViewElementRegistry *_viewElementRegistry; IKJSInspectorController *_webInspectorController; } @property (nonatomic, readonly) IKAppCache *appCache; @property (nonatomic, copy) NSString *nextJSChecksum; @property (nonatomic, readonly) NSMutableArray *onStartQueue; @property (nonatomic, getter=isTrusted) BOOL trusted; @property (nonatomic) BOOL canAccessPendingQueue; @property (nonatomic, copy) NSString *responseScript; @property (nonatomic, strong) NSError *responseError; @property (nonatomic, strong) IKAppReloadContext *reloadContext; @property (getter=isRunning) BOOL running; @property (nonatomic, strong) NSMutableArray *pendingQueue; @property (nonatomic, copy, readonly) NSURL *resolvedBootURL; @property (nonatomic, strong) JSContext *jsContext; @property (nonatomic, strong) NSMutableArray *postEvaluationBlocks; @property (nonatomic, strong) IKJSApplication *jsApp; @property (nonatomic, strong) IKJSFoundation *jsFoundation; @property (nonatomic, strong) IKJSWeakMap *jsWeakMap; @property (nonatomic, strong) IKJSViewModelService *jsViewModelService; @property BOOL isValid; @property (nonatomic, getter=isPrivileged) BOOL privileged; @property (nonatomic, readonly) IKViewElementRegistry *viewElementRegistry; @property (nonatomic, readonly) BOOL appUsesDefaultStyleSheets; @property (nonatomic, strong) IKJSInspectorController *webInspectorController; @property (nonatomic, weak, readonly) id<IKApplication> app; @property (nonatomic, readonly) unsigned long long mode; @property (nonatomic, weak, readonly) id<IKAppContextDelegate> delegate; @property (nonatomic) BOOL remoteInspectionEnabled; @property (nonatomic) BOOL mescalPrimeEnabledForXHRRequests; @property (nonatomic) BOOL canRequireSystemTrustForXHRs; @property (nonatomic, strong) id<IKAppScriptFallbackHandler> appScriptFallbackHandler; @property (nonatomic) double appScriptTimeoutInterval; @property (nonatomic, readonly) IKJSArrayBufferStore *arrayBufferStore; @property (nonatomic, readonly) NSNumber *metricsLoadURLSessionDuration; @property (nonatomic, readonly) NSNumber *metricsLoadURLSamplingPercentage; @property (nonatomic, readonly) NSNumber *metricsLoadURLSamplingPercentageCachedResponses; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; + (BOOL)isInFactoryMode; + (id)currentAppContext; + (void)registerPrivateProtocols:(id)registerPrivateProtocols forClass:(Class)forClass; - (BOOL)isPrivileged; - (void)start; - (void)setTrusted:(BOOL)trusted; - (void)setIsValid:(BOOL)isValid; - (BOOL)isFeatureEnabled:(id)isFeatureEnabled; - (void).cxx_destruct; - (BOOL)isRunning; - (void)dealloc; - (void)reload; - (void)setRunning:(BOOL)running; - (void)setPrivileged:(BOOL)privileged; - (void)setResponseError:(id)responseError; - (void)stop; - (BOOL)isValid; - (id)delegate; - (id)responseError; - (id)app; - (unsigned long long)mode; - (BOOL)isTrusted; - (BOOL)appUsesDefaultStyleSheets; - (id)initWithApplication:(id)application mode:(unsigned long long)mode delegate:(id)delegate; - (id)viewElementRegistry; - (void)_dispatchError:(id)_dispatchError; - (void)_stopAndReload:(BOOL)reload; - (void)appCache:(id)appCache didUpdateWithChecksum:(id)checksum; - (void)inspectElement:(id)inspectElement; - (void)unregisterLoaderWithIdentifier:(id)identifier; - (id)resolvedBootURL; - (void)_addStopRecordToPendingQueueWithReload:(BOOL)reload; - (id)_appTraitCollection; - (void)_doEvaluate:(id /* block */)_doEvaluate; - (void)_drainOnStartQueue; - (void)_enqueueOnStartOrExecute:(id /* block */)startOrExecute; - (id)_errorWithMessage:(id)message; - (void)_evaluate:(id /* block */)_evaluate; - (void)_evaluateFoundationWithDeviceConfig:(id)deviceConfig addPrivateInterfaces:(BOOL)addPrivateInterfaces; - (void)_invalidateJSThread; - (void)_jsThreadMain; - (void)_networkPropertiesChanged:(id)_networkPropertiesChanged; - (id)_preferredLaunchURL; - (BOOL)_prepareStartWithURL:(id)uRL; - (void)_sourceCanceledOnRunLoop:(struct __CFRunLoop *)runLoop; - (void)_sourcePerform; - (void)_sourceScheduledOnRunLoop:(struct __CFRunLoop *)runLoop; - (void)_startWithScript:(id)script scriptUrl:(id)scriptUrl wasLoadedFromFallback:(BOOL)fallback; - (void)_startWithURL:(id)uRL urlTrusted:(BOOL)urlTrusted; - (void)addPostEvaluateBlock:(id /* block */)addPostEvaluateBlock; - (id)appCache; - (id)appScriptFallbackHandler; - (double)appScriptTimeoutInterval; - (void)appTraitCollectionChanged:(id)appTraitCollectionChanged; - (id)arrayBufferStore; - (BOOL)canAccessPendingQueue; - (BOOL)canRequireSystemTrustForXHRs; - (BOOL)cancelHighlightView; - (void)contextDidFailWithError:(id)error; - (void)contextDidStartWithJS:(id)jS options:(id)options; - (void)contextDidStopWithOptions:(id)options; - (void)evaluate:(id /* block */)evaluate completionBlock:(id /* block */)completionBlock; - (void)evaluateDelegateBlockSync:(id /* block */)evaluateDelegateBlockSync; - (void)evaluateFoundationJS; - (void)exitAppWithOptions:(id)options; - (void)handleCacheUpdate; - (void)handleReloadWithUrgencyType:(unsigned long long)urgencyType minInterval:(double)minInterval data:(id)data; - (BOOL)highlightViewForElementWithID:(long long)iD contentColor:(id)contentColor paddingColor:(id)paddingColor borderColor:(id)borderColor marginColor:(id)marginColor; - (BOOL)highlightViewsForElementsWithIDs:(id)iDs contentColor:(id)contentColor paddingColor:(id)paddingColor borderColor:(id)borderColor marginColor:(id)marginColor; - (id)initWithApplication:(id)application mode:(unsigned long long)mode cache:(BOOL)cache delegate:(id)delegate; - (void)inspectElementModeChanged:(BOOL)inspectElementModeChanged; - (BOOL)isInspectElementModeEnabled; - (id)jsApp; - (id)jsContext; - (id)jsFoundation; - (id)jsViewModelService; - (id)jsWeakMap; - (void)launchAppWithOptions:(id)options; - (BOOL)mescalPrimeEnabledForXHRRequests; - (id)nextJSChecksum; - (id)onStartQueue; - (void)openURLWithOptions:(id)options; - (void)operation:(id)operation failedWithError:(id)error; - (void)operation:(id)operation finishedWithOutput:(id)output; - (id)pendingQueue; - (id)postEvaluationBlocks; - (id)registerLoaderWithIdentifier:(id)identifier; - (id)reloadContext; - (BOOL)remoteInspectionEnabled; - (void)resetFoundationJS; - (id)responseScript; - (void)resumeWithOptions:(id)options; - (void)setAppScriptFallbackHandler:(id)appScriptFallbackHandler; - (void)setAppScriptTimeoutInterval:(double)appScriptTimeoutInterval; - (void)setCanAccessPendingQueue:(BOOL)canAccessPendingQueue; - (void)setCanRequireSystemTrustForXHRs:(BOOL)xHRs; - (void)setException:(id)exception withErrorMessage:(id)withErrorMessage; - (void)setJsApp:(id)jsApp; - (void)setJsContext:(id)jsContext; - (void)setJsFoundation:(id)jsFoundation; - (void)setJsViewModelService:(id)jsViewModelService; - (void)setJsWeakMap:(id)jsWeakMap; - (void)setMescalPrimeEnabledForXHRRequests:(BOOL)xHRRequests; - (void)setNextJSChecksum:(id)nextJSChecksum; - (void)setPendingQueue:(id)pendingQueue; - (void)setPostEvaluationBlocks:(id)postEvaluationBlocks; - (void)setReloadContext:(id)reloadContext; - (void)setRemoteInspectionEnabled:(BOOL)remoteInspectionEnabled; - (void)setResponseScript:(id)responseScript; - (void)setWebInspectorController:(id)webInspectorController; - (void)suspendWithOptions:(id)options; - (BOOL)validateDOMDocument:(id)validateDOMDocument error:(id *)error; - (id)webInspectorController; - (void)willPerformXhrRequest:(id)willPerformXhrRequest; @end