Are you still thinking what HTML5 can do!

The less I say about Joshua Davis, the better. All his works speak or himself. The recent release project of his called “the endless mural” , is the technological and artistic extremes again. This is kind of a wakeup call for people who think, HTML5 is just a good topic to talk about. Go straight away to http://www.endlessmural.com/ for an experience of the project. The excitement is just not on the technological or artistic part, its the company involved in it too. Watch out the video for the details.

Selector without any parameter

Well, let me face it. It took me sometime to write a simple selector, which does not take any parameter and then to successfully call it. The solution is overly simplified. If at all one need to define a selector, which does not take any parameter, it should be as below

- (void) myMethod
{
//Do Something
}

The call to this selector is also the simplest of all forms

[myObj myMethod]

Now, that may be confusing at some point as it confused me. The reason being, it is a general convention to see selectors with a “:” at the end. So in general terms a selector is known as with a “:” as

myMethod: , onUserCall:

etc. So the point is, if its defined not to take any parameters or does not take any arguements in its definition, then the method call will be just the selector name else it would always be with a “:”.