objc_setAssociatedObject 使用

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