Hello!
can anyone give me an example of how to write function in xcode that takes on string parameter and after concatenation returns another string value.
I did a function,
-(void)Change{
.
.
.
}
but this does not return any value and also doesn't pass parameter.
I tried
-(NSString *) ChangeCase(NSString* String1){
}
but it doesn't work and i am getting errors.
can anyone give me an example of how to write function in xcode that takes on string parameter and after concatenation returns another string value.
I did a function,
-(void)Change{
.
.
.
}
but this does not return any value and also doesn't pass parameter.
I tried
-(NSString *) ChangeCase(NSString* String1){
}
but it doesn't work and i am getting errors.