0
What happens when you create a block?

Open 1 Answers 29 Views Technology

What happens when you create a block?

1 Answer

0

Blocks are also used for callbacks, defining the code to be executed when a task completes. As an example, your app might need to respond to a user action by creating an object that performs a complicated task, such as requesting information from a web service. Because the task might take a long time, you should display some kind of progress indicator while the task is occurring, then hide that indicator once the task is complete.

by (304k points)
...