UIApplication.sharedApplication.delegate.navigationController.navigationBar.tintColor = UIColor.redColor;
and the app's navbar changed color. Is this still possible with this release? I haven't been able to try it out at work yet. Thanks for this awesome tool.
It would be awesome if you integrated Cycript into this.
The entire idea of mapping the semantics of a native app into the HTML reality of that debugger, however, is somewhat awkward if you want to attack the parts that aren't networking and database (which is what PonyDebugger is currently nailing really well). I was working on something a little more general a while back as part of Cynoptica (mapping all processes to an HTML debugger interface); when I have something I'll hit you up on IRC.
It also underscores my loathing for cutesy, irreverent naming conventions.
Personally, I can't wait for a Firebug-like tool for live debugging and tweaking of UIView hierarchies.
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:
Docs here: https://developers.google.com/chrome-developer-tools/docs/pr...
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.
The point of TFA seems to be that it's using the webkit developer tools to inspect and debug native cocoa applications, not web applications.
Edit: This seems to only be for web apps, not native apps. Or am I missing something?
Impressive to say the least.
iOS6 makes the feature officially supported (though the API for webview-based apps is probably different, I haven't checked): http://taitems.tumblr.com/post/24936855546/what-ios-6-mobile...
I've done something like this in the past using Charles or Fiddler and the proxy settings on my iOS device.
I think it only does outgoing requests, but rvictl can also be handy for inspecting iOS network traffic. With a single command on your Mac, it directs device traffic through a network interface on the Mac. Wireshark works great on it.