how to i concatenate strings in objective c?
- (IBAction)emailButton:(id)sender { MFMailComposeViewController *mailContoller = [[MFMailComposeViewController alloc]init]; [mailContoller setMailComposeDelegate:self]; NSString *email = @"*******gmail.com"; NSString *email1 = @"*******@hotmail.co.uk"; NSArray *emailArray = [[NSArray alloc]initWithObjects:email, email1, nil]; NSString *message = [NSString stringWithFormat:@"%@\n%@\n%@", textField1.text, textField2.text, textField3.text]; [mailContoller setMessageBody:message isHTML:NO]; [mailContoller setToRecipients:emailArray]; [mailContoller setSubject:@"IT WORKS!"]; [self presentViewController:mailContoller animated:YES completion:nil]; } -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [[self myTextView] resignFirstResponder]; } -(void)mailComposeController:(MFMailComposeViewController *)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError *)error { [self dismissViewControllerAnimated:YES completion:nil]; } @end any help on this will be greatly appreciated.
thank you