6 ms·
PonyDebugger could be extended to support this very easily. We pretty much codegen "controllers" for all of Chrome Developer Tool prootocols's domain. One cou
by mikelikespie 14y ago
PonyDebugger could be extended to support this very easily. We pretty much codegen "controllers" for all of Chrome Developer Tool prootocols's domain. One could map the UIView hierarchy to the DOM by just implementing a delegate.
You can look at the "*DomainController" classes here for examples: https://github.com/square/PonyDebugger/tree/master/ObjC/PonyDebugger https://github.com/square/PonyDebugger/tree/master/ObjC/Pony...
For implementing DOM-like viewing it would require you to implement PDDOMCommandDelegate defined here:
https://github.com/square/PonyDebugger/blob/master/ObjC/DerivedSources/PDDOMDomain.h https://github.com/square/PonyDebugger/blob/master/ObjC/Deri...
Docs here: https://developers.google.com/chrome-developer-tools/docs/protocol/tot/dom https://developers.google.com/chrome-developer-tools/docs/pr...