The messages (methods) defined in the application (Application delegated) main can be invoked quickly by using performSelector :
1 2
| delegate ] [[[UIApplication sharedApplication] delegate] ( applicationMessage ) ] ; performSelector: @ selector (applicationMessage)]; |
More ...
In Javascript you can write functions with variable arguments, that is, functions that do not necessarily accept a fixed number of inputs. For example you can write functions like this:
More ...
Overloading is a really useful feature of some object-oriented programming languages. However, no tuti OO languages support it, and some of the "implementing" or so limited or different. In general, functions or methods, overloading allows you to create two or more functions / methods that have the same name but accept different parameters, for example:
More ...
In post topics and default variables in Javascript, Actionscript and PHP I was exposed using the techniques of parameter passing and default variables. Add, now, that in Actionscript 3.0 introduces a new parameter declaration can specify an array parameter that accepts any number of arguments separated by commas: ... (rest ... (rest )
More ...
Who develops knows that one of the characteristics of functions ( function () ) is to have or not the input arguments. It can happen, sometimes you have to write a function that, based on input parameters, behaves differently (in OO programming this behavior are referred to as polymorphism). Variable parameters (varargs), already introduced at the time of the present by default in C and classical statement of the main :
1
| int main (int argc, char * argv []); |
More ...
Latest Comments
Giovambattista Fazioli : @ Nik: I'm happy! Good luck then!
Nik : I have Monday examining information on java, thanks to me you have been very useful, the book I was unclear ...
Mark : Thank you very much, I've lit
I solved it by setting [cc_objc] / / OptionViewController.m - ...
Giovambattista Fazioli : @ Mark: I suggest you think a more correct approach. If you run the subclass of the tab ...
louis : very clear and simple I have to admit that writing a pa hardly use delegates created by ...