Friday, 26 April 2013


WebView implementation in iOS

webkit on OS x suports WebView which provides hundreds of APIs for interacting with html DOM objet in HTML page directly...

following components will make UIWebview to behave like WebView in webkit

  1. JSToObjCBridge (will reside in javascript)
  2. windowSriptObject (object in objC which enables to execute JS from objective-C)

Friday, 22 February 2013

ObjectiveC tips

To check arc is enabled or not
__has_feature(objc_arc)
Macro expands to 1 if enabled else 0