Typo in selector example


#1

The line in the selector example that says

should be

The colon is required, even if there are no arguments.


#2

@selector(method) means there are no arguments and @selector(method:) means there is one argument.

If you put a colon on the action method and implement a method without an argument, you will get an exception.


#3

Got it, thanks for the clarification Joe.