JSPatch -- iOS hotfix

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

 

1. Blockgithub

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

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

 

2. dispatch_after() dispatch_async_main() dispatch_sync_main() dispatch_async_global_queue()it

e.g.io

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

相關文章
相關標籤/搜索