UIControl-Blocks Use blocks with UIControls Example usage: [button addEventHandler:^(id sender) { //do something } forControlEvents:UIControlEventTouchUpInside];