![]() ![]() You might use Grand Central Dispatch to invoke a block in the background, for example, or define a block to represent a task to be invoked repeatedly, such as when enumerating a collection. In practice, it’s common to pass blocks to functions or methods for invocation elsewhere. ![]() You Can Pass Blocks as Arguments to Methods or FunctionsĮach of the previous examples in this chapter invokes the block immediately after it’s defined.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |