// // ViewController.m // 201401 // // Created by zhang guoqi on 14-4-5. // Copyright (c) 2014年 zhang guoqi. All rights reserved. // #import "ViewController.h" @interface ViewController () @property (weak, nonatomic) IBOutlet UIButton *bbb; @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. [_bbb addTarget:self action:@selector(onButtonClicked:) forControlEvents:UIControlEventTouchUpInside]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (void)onButtonClicked:(id)sender { NSLog(@"%s", __PRETTY_FUNCTION__); } - (IBAction)llll:(id)sender { NSLog(@"%s", __PRETTY_FUNCTION__); } - (IBAction)aaa:(id)sender { NSLog(@"%s", __PRETTY_FUNCTION__); } @end
ios log, bind event
猜你喜欢
转载自zgq456.iteye.com/blog/2041882
今日推荐
周排行