Is function overloading possible in Objective C ?
Well,Most of the programmers says no,
But it looks like possible,
for example:
-(int)AddMethod:(int)X :(int)Y
{
return X + Y;
}
-(int)AddMethod:(int)X
{
return X;
}
to call 1st one write [self AddMethod :3];
to call last one write [self AddMethod: 3 :4];