Objective-CclassITMLKit

@interface IKAppContext : NSObject <ISURLOperationDelegate, IKAppCacheDelegate, IKJSInspectorControllerDelegate>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 189

  1. method+ (id)currentAppContext;
  2. method+ (BOOL)isInFactoryMode;
  3. method+ (void)registerPrivateProtocols:(id)arg0 forClass:(Class)arg1;
  4. ivarid <IKApplication> _app;+0x38
  5. ivarIKAppCache *_appCache;+0x68
  6. ivarid <IKAppScriptFallbackHandler> _appScriptFallbackHandler;+0x50
  7. ivardouble _appScriptTimeoutInterval;+0x58
  8. ivarBOOL _appUsesDefaultStyleSheets;+0x36
  9. ivarIKJSArrayBufferStore *_arrayBufferStore;+0x8
  10. ivarBOOL _canAccessPendingQueue;+0x33
  11. ivarBOOL _canRequireSystemTrustForXHRs;+0x31
  12. ivarid <IKAppContextDelegate> _delegate;+0x48
  13. ivarstruct { BOOL respondsToHighlightViewForOneElement; BOOL respondsToHighlightViewsForManyElements; BOOL respondsToCancelHighlightForAppContext; BOOL respondsToDidInspectElementModeChanged; } _delegateFlags;+0x2a
  14. ivarBOOL _isAirplaneModeEnabled;+0x29
  15. ivarBOOL _isValid;+0x2e
  16. ivarIKJSApplication *_jsApp;+0xb0
  17. ivarJSContext *_jsContext;+0x60
  18. ivarIKJSFoundation *_jsFoundation;+0xb8
  19. ivarstruct __CFRunLoop *_jsThreadRunLoop;+0x10
  20. ivarstruct __CFRunLoopSource *_jsThreadRunLoopSource;+0x18
  21. ivarIKJSViewModelService *_jsViewModelService;+0xc8
  22. ivarIKJSWeakMap *_jsWeakMap;+0xc0
  23. ivarNSObject<OS_dispatch_source> *_lowMemoryWarningSource;+0x20
  24. ivarBOOL _mescalPrimeEnabledForXHRRequests;+0x30
  25. ivarunsigned long long _mode;+0x40
  26. ivarNSString *_nextJSChecksum;+0x70
  27. ivarNSMutableArray *_onStartQueue;+0x78
  28. ivarNSMutableArray *_pendingQueue;+0x98
  29. ivarNSMutableArray *_postEvaluationBlocks;+0xa8
  30. ivarBOOL _privileged;+0x35
  31. ivarIKAppReloadContext *_reloadContext;+0x90
  32. ivarBOOL _remoteInspectionEnabled;+0x2f
  33. ivarNSURL *_resolvedBootURL;+0xa0
  34. ivarBOOL _respondsToTraitCollection;+0x28
  35. ivarNSError *_responseError;+0x88
  36. ivarNSString *_responseScript;+0x80
  37. ivarBOOL _running;+0x34
  38. ivarBOOL _trusted;+0x32
  39. ivarIKViewElementRegistry *_viewElementRegistry;+0xd0
  40. ivarIKJSInspectorController *_webInspectorController;+0xd8
  41. method- (void).cxx_destruct;
  42. method- (void)_addStopRecordToPendingQueueWithReload:(BOOL)arg0;
  43. method- (id)_appTraitCollection;
  44. method- (void)_dispatchError:(id)arg0;
  45. method- (void)_doEvaluate:(id /* block */)arg0;
  46. method- (void)_drainOnStartQueue;
  47. method- (void)_enqueueOnStartOrExecute:(id /* block */)arg0;
  48. method- (id)_errorWithMessage:(id)arg0;
  49. method- (void)_evaluate:(id /* block */)arg0;
  50. method- (void)_evaluateFoundationWithDeviceConfig:(id)arg0 addPrivateInterfaces:(BOOL)arg1;
  51. method- (void)_invalidateJSThread;
  52. method- (void)_jsThreadMain;
  53. method- (void)_networkPropertiesChanged:(id)arg0;
  54. method- (id)_preferredLaunchURL;
  55. method- (BOOL)_prepareStartWithURL:(id)arg0;
  56. method- (void)_sourceCanceledOnRunLoop:(struct __CFRunLoop *)arg0;
  57. method- (void)_sourcePerform;
  58. method- (void)_sourceScheduledOnRunLoop:(struct __CFRunLoop *)arg0;
  59. method- (void)_startWithScript:(id)arg0 scriptUrl:(id)arg1 wasLoadedFromFallback:(BOOL)arg2;
  60. method- (void)_startWithURL:(id)arg0 urlTrusted:(BOOL)arg1;
  61. method- (void)_stopAndReload:(BOOL)arg0;
  62. method- (void)addPostEvaluateBlock:(id /* block */)arg0;
  63. method- (id)app;
  64. method- (id)appCache;
  65. method- (void)appCache:(id)arg0 didUpdateWithChecksum:(id)arg1;
  66. method- (id)appScriptFallbackHandler;
  67. method- (double)appScriptTimeoutInterval;
  68. method- (void)appTraitCollectionChanged:(id)arg0;
  69. method- (BOOL)appUsesDefaultStyleSheets;
  70. method- (id)arrayBufferStore;
  71. method- (BOOL)canAccessPendingQueue;
  72. method- (BOOL)canRequireSystemTrustForXHRs;
  73. method- (BOOL)cancelHighlightView;
  74. method- (void)contextDidFailWithError:(id)arg0;
  75. method- (void)contextDidStartWithJS:(id)arg0 options:(id)arg1;
  76. method- (void)contextDidStopWithOptions:(id)arg0;
  77. method- (void)dealloc;
  78. method- (id)delegate;
  79. method- (void)evaluate:(id /* block */)arg0 completionBlock:(id /* block */)arg1;
  80. method- (void)evaluateDelegateBlockSync:(id /* block */)arg0;
  81. method- (void)evaluateFoundationJS;
  82. method- (void)exitAppWithOptions:(id)arg0;
  83. method- (void)handleCacheUpdate;
  84. method- (void)handleReloadWithUrgencyType:(unsigned long long)arg0 minInterval:(double)arg1 data:(id)arg2;
  85. method- (BOOL)highlightViewForElementWithID:(long long)arg0 contentColor:(id)arg1 paddingColor:(id)arg2 borderColor:(id)arg3 marginColor:(id)arg4;
  86. method- (BOOL)highlightViewsForElementsWithIDs:(id)arg0 contentColor:(id)arg1 paddingColor:(id)arg2 borderColor:(id)arg3 marginColor:(id)arg4;
  87. method- (id)initWithApplication:(id)arg0 mode:(unsigned long long)arg1 cache:(BOOL)arg2 delegate:(id)arg3;
  88. method- (id)initWithApplication:(id)arg0 mode:(unsigned long long)arg1 delegate:(id)arg2;
  89. method- (void)inspectElement:(id)arg0;
  90. method- (void)inspectElementModeChanged:(BOOL)arg0;
  91. method- (BOOL)isFeatureEnabled:(id)arg0;
  92. method- (BOOL)isInspectElementModeEnabled;
  93. method- (BOOL)isPrivileged;
  94. method- (BOOL)isRunning;
  95. method- (BOOL)isTrusted;
  96. method- (BOOL)isValid;
  97. method- (id)jsApp;
  98. method- (id)jsContext;
  99. method- (id)jsFoundation;
  100. method- (id)jsViewModelService;
  101. method- (id)jsWeakMap;
  102. method- (void)launchAppWithOptions:(id)arg0;
  103. method- (BOOL)mescalPrimeEnabledForXHRRequests;
  104. method- (unsigned long long)mode;
  105. method- (id)nextJSChecksum;
  106. method- (id)onStartQueue;
  107. method- (void)openURLWithOptions:(id)arg0;
  108. method- (void)operation:(id)arg0 failedWithError:(id)arg1;
  109. method- (void)operation:(id)arg0 finishedWithOutput:(id)arg1;
  110. method- (id)pendingQueue;
  111. method- (id)postEvaluationBlocks;
  112. method- (id)registerLoaderWithIdentifier:(id)arg0;
  113. method- (void)reload;
  114. method- (id)reloadContext;
  115. method- (BOOL)remoteInspectionEnabled;
  116. method- (void)resetFoundationJS;
  117. method- (id)resolvedBootURL;
  118. method- (id)responseError;
  119. method- (id)responseScript;
  120. method- (void)resumeWithOptions:(id)arg0;
  121. method- (void)setAppScriptFallbackHandler:(id)arg0;
  122. method- (void)setAppScriptTimeoutInterval:(double)arg0;
  123. method- (void)setCanAccessPendingQueue:(BOOL)arg0;
  124. method- (void)setCanRequireSystemTrustForXHRs:(BOOL)arg0;
  125. method- (void)setException:(id)arg0 withErrorMessage:(id)arg1;
  126. method- (void)setIsValid:(BOOL)arg0;
  127. method- (void)setJsApp:(id)arg0;
  128. method- (void)setJsContext:(id)arg0;
  129. method- (void)setJsFoundation:(id)arg0;
  130. method- (void)setJsViewModelService:(id)arg0;
  131. method- (void)setJsWeakMap:(id)arg0;
  132. method- (void)setMescalPrimeEnabledForXHRRequests:(BOOL)arg0;
  133. method- (void)setNextJSChecksum:(id)arg0;
  134. method- (void)setPendingQueue:(id)arg0;
  135. method- (void)setPostEvaluationBlocks:(id)arg0;
  136. method- (void)setPrivileged:(BOOL)arg0;
  137. method- (void)setReloadContext:(id)arg0;
  138. method- (void)setRemoteInspectionEnabled:(BOOL)arg0;
  139. method- (void)setResponseError:(id)arg0;
  140. method- (void)setResponseScript:(id)arg0;
  141. method- (void)setRunning:(BOOL)arg0;
  142. method- (void)setTrusted:(BOOL)arg0;
  143. method- (void)setWebInspectorController:(id)arg0;
  144. method- (void)start;
  145. method- (void)stop;
  146. method- (void)suspendWithOptions:(id)arg0;
  147. method- (void)unregisterLoaderWithIdentifier:(id)arg0;
  148. method- (BOOL)validateDOMDocument:(id)arg0 error:(id *)arg1;
  149. method- (id)viewElementRegistry;
  150. method- (id)webInspectorController;
  151. method- (void)willPerformXhrRequest:(id)arg0;
  152. property@property(readonly, weak, nonatomic) id <IKApplication> app;
  153. property@property(readonly, nonatomic) IKAppCache *appCache;
  154. property@property(retain, nonatomic) id <IKAppScriptFallbackHandler> appScriptFallbackHandler;
  155. property@property(nonatomic) double appScriptTimeoutInterval;
  156. property@property(readonly, nonatomic) BOOL appUsesDefaultStyleSheets;
  157. property@property(readonly, nonatomic) IKJSArrayBufferStore *arrayBufferStore;
  158. property@property(nonatomic) BOOL canAccessPendingQueue;
  159. property@property(nonatomic) BOOL canRequireSystemTrustForXHRs;
  160. property@property(readonly, copy) NSString *debugDescription;
  161. property@property(readonly, weak, nonatomic) id <IKAppContextDelegate> delegate;
  162. property@property(readonly, copy) NSString *description;
  163. property@property(readonly) unsigned long long hash;
  164. property@property BOOL isValid;
  165. property@property(retain, nonatomic) IKJSApplication *jsApp;
  166. property@property(retain, nonatomic) JSContext *jsContext;
  167. property@property(retain, nonatomic) IKJSFoundation *jsFoundation;
  168. property@property(retain, nonatomic) IKJSViewModelService *jsViewModelService;
  169. property@property(retain, nonatomic) IKJSWeakMap *jsWeakMap;
  170. property@property(nonatomic) BOOL mescalPrimeEnabledForXHRRequests;
  171. property@property(readonly, nonatomic) NSNumber *metricsLoadURLSamplingPercentage;
  172. property@property(readonly, nonatomic) NSNumber *metricsLoadURLSamplingPercentageCachedResponses;
  173. property@property(readonly, nonatomic) NSNumber *metricsLoadURLSessionDuration;
  174. property@property(readonly, nonatomic) unsigned long long mode;
  175. property@property(copy, nonatomic) NSString *nextJSChecksum;
  176. property@property(readonly, nonatomic) NSMutableArray *onStartQueue;
  177. property@property(retain, nonatomic) NSMutableArray *pendingQueue;
  178. property@property(retain, nonatomic) NSMutableArray *postEvaluationBlocks;
  179. property@property(getter=isPrivileged, nonatomic) BOOL privileged;
  180. property@property(retain, nonatomic) IKAppReloadContext *reloadContext;
  181. property@property(nonatomic) BOOL remoteInspectionEnabled;
  182. property@property(readonly, copy, nonatomic) NSURL *resolvedBootURL;
  183. property@property(retain, nonatomic) NSError *responseError;
  184. property@property(copy, nonatomic) NSString *responseScript;
  185. property@property(getter=isRunning) BOOL running;
  186. property@property(readonly) Class superclass;
  187. property@property(getter=isTrusted, nonatomic) BOOL trusted;
  188. property@property(readonly, nonatomic) IKViewElementRegistry *viewElementRegistry;
  189. property@property(retain, nonatomic) IKJSInspectorController *webInspectorController;
@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)isValid;
- (void)setResponseError:(id)responseError;
- (void)setPrivileged:(BOOL)privileged;
- (id)responseError;
- (void)start;
- (BOOL)isPrivileged;
- (void)setRunning:(BOOL)running;
- (BOOL)isRunning;
- (void).cxx_destruct;
- (BOOL)isFeatureEnabled:(id)isFeatureEnabled;
- (void)setIsValid:(BOOL)isValid;
- (void)setTrusted:(BOOL)trusted;
- (unsigned long long)mode;
- (void)dealloc;
- (void)stop;
- (void)reload;
- (id)delegate;
- (id)app;
- (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