Tell me something about objective-c blocks?
Answer / Ankur Sudhanshu
Objective-C blocks (also known as closures) are self-contained chunks of functionality that can be passed around and used in your code. They allow you to write anonymous functions, which can capture and store references to any constants and variables from the context in which they were created. Blocks are useful for creating callbacks, handling asynchronous events, and implementing custom algorithms.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the 5 performance objectives?
What is an objective fact?
What can’t we put into an array or dictionary?
What are the main objectives of training?
Explain what is @synthesize in objective-c?
What is objective writing?
What is a process and thread?
What are the different types of identifiers?
What are the different types of protocols?
What do you mean by dot notation?
Can a static library (.a) contain resources like images, sound files etc?
What is a .m file?