JSPatch Convertor

Loading ...

OC

JS

Syntax Error

What's JSPatch Convertor

JSPatch bridges Objective-C and JavaScript using the Objective-C runtime. You can call any Objective-C class and method in JavaScript by just including a small engine. That makes the APP obtaining the power of script language: add modules or replacing Objective-C code to fix bugs dynamically.

JSPatch Convertor is a tool that converts Objective-C code to JSPatch script automatically.

SUPPORTED

  • Method declaration
  • Method calling
  • Block syntax
  • Variable declaration
  • Getting/Setting Property
  • NSString / NSArray / nil ...

UNSUPPORTED

  • Macro / constant variable / Enum
  • C function calling
  • GCD functions
  • Pointer / Struct
  • Getting / Setting private variable