Like C and C++ objective-C provides comments.
Programmer can use single or multi line comments in the code according to the
Message expressions are enclosed in square brackets.
Message Expressions in Objective-C
Message expressions are enclosed in square brackets as given below:
Receiver can be a variable or expression that evaluates to an object (including the variable self)
■ A class name (indicating the class object)
■ super (indicating an alternative search for the method implementation)
The message is the name of a method plus any arguments passed to it.
Like C and C++ comments // and /*- - - - */ are allowed.
Liked it! Share this Tutorial