iOS block任意參數

block聲明的時候參數不填,傳值時能夠傳任意參數,且能夠傳任意個數的參數web typedef void (^ViewEventsBlock)(); ViewEventsBlock block1; ViewEventsBlock block2; ViewEventsBlock block3; block1 = ^{ NSLog(@"1");
相關文章
相關標籤/搜索