JSPatch is an Objective-C runtime bridge that enables calling Objective-C classes and methods from JavaScript code within iOS apps—commonly used for hotfixes by injecting scripts to patch app behavior at runtime. 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. Easy script loading via JavaScriptCore framework integration. That makes the APP obtaining the power of script language: add modules or replacing Objective-C code to fix bugs dynamically. There are some extensions provide support for custom struct type, C methods and other functional, call +addExtensions.

Features

  • Enables JavaScript to invoke Objective-C classes and methods dynamically
  • Facilitates hotfixing iOS apps without App Store re-submission
  • Easy script loading via JavaScriptCore framework integration
  • Supports iOS 6 and above, with forward compatibility (iOS 7+)
  • Minimal footprint: includes a small engine and script interpreter
  • MIT-licensed with platform performance in production use

Project Samples

Project Activity

See All Activity >