hello world

JSPatch -- iOS hotfix

2017-03-27  本文已影响0人  alex_wood

wiki: https://github.com/bang590/JSPatch/wiki

  1. Block

block( 'int, MyClass *', function( paramA, paramB) { //do something } );

// double is not supported, number of parameters must not greatter than 6.

  1. dispatch_after() dispatch_async_main() dispatch_sync_main() dispatch_async_global_queue()

e.g.

dispatch_async_main( function() { //do something } );

上一篇 下一篇

猜你喜欢

热点阅读