-(void)displayNameBy:(NSString*)name{
mylable.text = name;
}
i want call this method using @selector keywords.
eg:
[MyButton addTarget:self action:***@selector(displayNameBy:name)*** forControlEvents:UIControlEventTouchUpInside];
Here bold italics is my doubt.. could i pass name parameter from here. when i try to pass name value i getting error.
any way to get name value in the displayNameBy:name method . using @selector key words.
here MyButton i created by programatically . not in interface builder.
thanks and regards