Hi guys,

I'm playing with storyboards and have managed to construct the fallowing based off a tutorial....

My delegate header file

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController

@property (nonatomic, retain) IBOutlet UITextView *label;

-(IBAction) my_btn:(id) sender;

@end

implementation file

-(IBAction) my_btn:(id) sender
{
    self.label.text = @"updated!";
}

Now with the storyboard I have assigned the Touch drag outside > first responder to be linked to the my_btn action.
putting a breakpoint within this block doesn't get hit. Nor does my label get updated.

Can someone help please?

you usually use Touch Up Inside for a button press event.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.