Hi Guys

What do I need to do in the following code to get theString to take the value 
I'm giving it in foo i.e. "Hi there"?

- (void) aMethod
{
    NSString* theString = @"";
    [self foo:theString];
}

- (NSString*) foo:(NSString*)aString
{
    NSString* stringB = @"Hi there";
    aString = stringB;
}

Thanks guys.


      Start at the new Yahoo!7 for a better online experience. www.yahoo7.com.au
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to