I have these two inputs
// @property (strong, nonatomic) IBOutlet UILabel *userOutput;
@property (strong, nonatomic) IBOutlet UITextField *userInput;
@property (strong, nonatomic) IBOutlet UITextField *userSecondInput;
I’d like the sender to combine both inputs to appear on the output as a single line
- (IBAction)setOutput:(id)sender {
self.userOutput.text=self.userInput.text;
}
try