- Block support for AlertView
@interface CYAlertView : UIAlertView
- (id)initWithTitle:(NSString *)title
message:(NSString *)message
clickedBlock:(void (^)(CYAlertView *alertView, BOOL cancelled, NSInteger buttonIndex))clickedBlock
cancelButtonTitle:(NSString *)cancelButtonTitle
otherButtonTitles:(NSString *)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION;
@end
- Sample code for Variable Argument Lists