Calling a function from Objective-C and getting the return value?
- by Nick Brooks
I have this code
NSString *tr = [self sendUrl:@"http://google.com/"];
But for some reason 'tr' will remain nil after it is executed. What am I doing wrong?
P.S. sendUrl returns an NSString