Hi guys!
I need help with functions in objective C?
In C++ i can make a function like this:
int testFunction(int zahl) {
int loop;
loop = zahl * 10;
return loop;
}
this function multiply my zahl with 10 and returns the result. In C++, i can call this function whenever i want with:
testFunction(5);
and it returns 50.
I dont understand how i can make such functions like testFunction in objective c? Have I to do this with
-(void)testFunction{}?
Thankx a lot for help!!
Greez Franhu