logo
  • 教程列表
  • SO官方文档
  • 块
    • 阻止 Typedef
    • 块作为属性
    • 块作为方法参数
    • 阻止作为局部变量
    • 定义和分配
  1. StackOverflow 文档
  2. Objective-C Language 教程
  3. 块
  4. 块作为方法参数

块作为方法参数

Created: November-22, 2018

- (void)methodWithBlock:(returnType (^)(paramType1, paramType2, ...))name;
  • 阻止作为局部变量
  • 块作为属性

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明