Re:PonyDebugger: Chrome Developer Tools for Native iOS Apps
by mikelikespie on Thursday August 30, 2012 @01:47PM
(#4455807)
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/Pony...
For implementing DOM-like viewing it would require you to implement PDDOMCommandDelegate defined here: https://github.com/square/PonyDebugger/blob/master/ObjC/Deri...
Docs here: https://developers.google.com/chrome-developer-tools/docs/pr...
Re:PonyDebugger: Chrome Developer Tools for Native iOS Apps
by irrationalfab on Thursday August 30, 2012 @12:40PM
(#4455451)
Have you seen https://github.com/glock45/iOS-Hierarchy-Viewer?
Re:PonyDebugger: Chrome Developer Tools for Native iOS Apps
by scottostler on Thursday August 30, 2012 @03:09PM
(#4456227)
Yes, and also DCIntrospect. They're encouraging, but don't currently compare to what you can do with, say, live-editing css or with a Javascript console.
Not that I've used it, but RubyMotion is making progress on a related front. A live REPL, styling apps with CSS, etc. Maybe we're not far off.
Re:PonyDebugger: Chrome Developer Tools for Native iOS Apps
by saurik on Friday August 31, 2012 @09:05AM
(#4459487)
The live REPL is provided by Cycript (a program I wrote that lets you inject into running iOS/Mac applications: it has a blend of Objective-C and JavaScript syntax with runtime tab-completion; it is used by most of the people doing extension development for jailbroken devices as it lets you dig deeply into any running program quite quickly).
Re:PonyDebugger: Chrome Developer Tools for Native iOS Apps
by madewulf on Thursday August 30, 2012 @12:41PM
(#4455456)
That already exists in fact: it's called DCIntrospect.
https://github.com/domesticcatsoftware/DCIntrospect
Personally, I can't wait for a Firebug-like tool for live debugging and tweaking of UIView hierarchies.