美文网首页hello world
JSPatch -- iOS hotfix

JSPatch -- iOS hotfix

作者: alex_wood | 来源:发表于2017-03-27 12:58 被阅读0次

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 } );

相关文章

网友评论

    本文标题:JSPatch -- iOS hotfix

    本文链接:https://www.haomeiwen.com/subject/jyqrottx.html