Skip to content

Commit

Permalink
Add a Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuswestin committed Aug 28, 2011
1 parent 7da3196 commit 9492ed9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
intended v0.0.1
+ ObjC: A WebViewJavascriptBridge class (a UIWebViewDelegate) that enables message passing to and from the JS
+ ObjC: A protocol called WebViewJavascriptBridgeDelegate that lets you handle messages received from the JS
+ JS: Event when the bridge is ready - document.addEventListener('WebViewJavascriptBridgeReady', function() {}, false)
+ JS: Ability to set your message handler - WebViewJavascriptBridge.setMessageHandler(function() {})
+ JS: Function to send messages - WebViewJavascriptBridge.sendMessage('a message');
+ All messages are strings. Use JSON in your js and e.g. JSONKit in iOS to send structured messages

0 comments on commit 9492ed9

Please sign in to comment.