The default argument type is id . Even this compiles:
- testMethod:someArgument { }
This is a method that takes id as an argument and should return id .
Actually, even the method name is not required:
- :someArgument { }
It can be called:
[self :someObject]
Of course, all this is very bad practice, and you should always specify types (and names).
source share