Objective-C Language Return values


Example

When you want to return a value from a method, you put the type you want to return in the first set of parentheses.

- (NSString)returnHello {
  return @"Hello World";
}

The value you want to return goes after the return keyword;