marcuswestin/WebViewJavascriptBridge — pull request #42 by peyton (2013-06-06 19:24:05+00:00)
Title: Retain cycle

After chasing down a retain cycle, I made these modifications to WebViewJavascriptBridge's ownership semantics. It really shouldn't have a strong reference to its delegate--it's unnecessary and breaks convention.

Also, I couldn't think of a reason the bridge needs a strong reference to its webview, so I made that weak as well. Feel free to change it back!