Quote:
Originally Posted by ffcmike
I find this weird as I'd imagine the difference in time between one such built-in function and assigning a variable to be somewhat negligible.
So if this really does make a significant difference, wouldn't it also be better to assign such variables as this.isblocking, this.visible and this.layer instead of using this.dontblock();, this.hide(); and this.drawunderplayer();?
|
These variables have been added to make it simplier to be able to see what the current value is. On Classic and Era iphone we use visible = true/false instead of show()/hide(), for dontblock and drawunderplayer it can sometimes be good to use the old version to make it work in the offline editor.