objc_setAssociatedObject 使用

UIAlertView的扩展 .h文件css #import <UIKit/UIKit.h> typedef void (^successBlock)(NSInteger buttonIndex); @interface UIAlertView (Block)<UIAlertViewDelegate> - (void)showWithBlock:(successBlock)block; @e
相关文章
相关标签/搜索