What I'm making is a `iPhone` application (Single View (Latest `XCode`)) that has a button a label and a `textfield`.

What i want to do is, let the user enter a name, then press the button and make the Label change to Hello {The name entered}.

I've searched around and not anything worked for me.

```
label.text = [NSString stringWithFormat:@"%@%@", label.text, textField1.text]; // Didn't work.

```

I've made,`View2.h`and `View2.m`.
The code in it:

**View2.h**:

```
#import <UIKit/UIKit.h>

@interface View2 : UIViewController
{

IBOutlet UILabel *HelloWorldLabel;
IBOutlet UITextField *NameText;
}

-(IBAction)Button:(id)sender;

@end

```

**View2.m**:

```
-(IBAction)Button:(id)sender{

}

```

EDIT1:

My Storyboard

![enter image description here](https://i.stack.imgur.com/PdOIp.png)