Skip to content

Instantly share code, notes, and snippets.

@ChrisRisner
Last active October 10, 2015 06:57
Show Gist options
  • Save ChrisRisner/3651258 to your computer and use it in GitHub Desktop.
Save ChrisRisner/3651258 to your computer and use it in GitHub Desktop.
31 Days of iOS - Day 3
#import "AppDelegate.h"
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
- (IBAction)tappedClickMe:(id)sender {
self.lblInfo.text = self.txtText.text;
}
@interface ViewController : UIViewController
@property (weak, nonatomic) IBOutlet UILabel *lblInfo;
@property (weak, nonatomic) IBOutlet UITextField *txtText;
- (IBAction)tappedClickMe:(id)sender;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment