News for hackers. Stuff that matters.
Re:Demo of how to debug code inside a mobile webview by bri3d on Friday May 04, 2012 @03:58PM (#3930072)

  [NSClassFromString(@"WebView") _enableRemoteInspector];
2) Start simulator

3) Visit http://localhost:9999 in Safari for a full-featured WebKit debugger.

I like competition but I'm not really sold on the advantages of this platform over its one-line, built-in alternative.

Re:Demo of how to debug code inside a mobile webview by noisebleed on Friday May 04, 2012 @04:26PM (#3930188)
I thought that didn't work on the actual device, which frequently is different enough from the simulator that Catalyst could still be extremely useful.

Also, I've never looked into it, but is there any comparable built-in debugging method for Android?

Re:Demo of how to debug code inside a mobile webview by natesm on Friday May 04, 2012 @04:15PM (#3930142)
That won't compile under ARC unless you declare +_enableRemoteInspector somewhere:

    objc_msgSend(NSClassFromString(@"UIWebView"), @selector(_enableRemoteInspector));
Re:Demo of how to debug code inside a mobile webview by amirnathoo on Friday May 04, 2012 @04:25PM (#3930183)
That's fine if you have yourself setup for native development. We're about helping web developers who don't want to do that.