What are the blocks? How will you use them?
Answer / Ramkaran
Blocks, also known as closures, are anonymous functions in Objective-C that can be used to encapsulate functionality and pass it around as a first-class object. They can be used for various purposes, such as event handling, concurrent programming, or simplifying complex logic.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is objective c and swift?
What is objective c written in?
What is delegation protocol?
How do I create an objective c class in xcode?
How do you write an objective summary?
What is property and its types?
What do you mean by cocoa?
What does the m mean in xcode?
What is dynamic dispatch method?
What is inheritance in objective c?
What is a nsstring?
Explain the difference between atomic and nonatomic synthesized properties.