I have an `UITableView` which loads each cell's content programmatically. Specifically, it draws an `UILabel`, named *nameLabel* and sets the **label.text** property with some text that it gets from our server. I have a `UIButton` which is then programmatically drawn over the UILabel so that when the user taps the text, it triggers an **@selector** method that looks like this:

```
- (void) nameButtonInvoked:(id)sender
{
    NSLog(@"nameButton Clicked..");

    UIViewController *nameView = [self.storyboard instantiateViewControllerWithIdentifier:@"namePageView"];
    [self presentViewController:nameView animated:YES completion:nil];

}

```

I would like to pass the actual text in *nameLabel* to the presented ViewController, **nameView**, which I will do with `prepareForSegue`. But to do this, I need to access that programmatic `UILabel`'s **.text** property from either the **@selector** method using **sender**, or I need to somehow set a global variable to be equal to that label's text by detecting which cell is being used. Since the `UIButton` is the sender, I'm assuming I may have to make the UILabel work like a button with the *touchUpInsideEvent* so that I can access the label's text property through sender. How do I do this?

Currently I have a global variable named *selectedNameString* which I need to set to be equal to that nameLabel.text, that needs to be done in the @selector method so that my prepareForSegue method can pass the data to the next VC.