/UIControl-Blocks

Use blocks with UIControls

Primary LanguageObjective-C

UIControl-Blocks

Use blocks with UIControls

Example usage:

[button addEventHandler:^(id sender) {
    //do something
} forControlEvents:UIControlEventTouchUpInside];