https://github.com/bang590/JSPatch/issues/9
selector
btn.addTarget_action_forControlEvents(self, "handleBtn:", 1 << 6)
CGRectMake
? ? ?var btn = require('UIButton').alloc().initWithFrame({x:0, y:100, width:width, height:50})
關(guān)于CGSize結(jié)構(gòu)體中的中式報(bào)錯(cuò).size undefined等:
UIScreen.mainScreen().bounds().width;直接省略了size()和width后面的()
對(duì)于初始化后的實(shí)例, 則不能忽略size()泣港, 改變的是width: ?image.size().width;