It is better to use tag instead of name for your need.
[aButton setTag:11];
-(IBAction)processButtonUpInside:(id)sender
{
UIButton *nButton = (UIButton*)sender;
int nInt = nButton.tag;
}
But, if you still need the integer in name, then set the button name like this:@"13button"
Now you can get the integer like this.
[nButton.titleLabel intValue];//13
EDIT:
Button name is @"Button13".
NSCharacterSet *numbers = [NSCharacterSet characterSetWithCharactersInString:@"0123456789"];
NSString *newString = [[nButton.titleLabel.text componentsSeparatedByCharactersInSet:[numbers invertedSet]] componentsJoinedByString:@""];
//newString = 13