What is block in ios?



What is block in ios?..

Answer / Saurabh Srivastava

A block in Objective-C is a package of functionally related code and constants. Blocks can capture and store references to any constant and variable from the context in which they are declared, making them useful for handling completion handlers or as parameters to functions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is gcd? How is it used?

1 Answers  


What is the meaning of 'synthesize' keyword?

1 Answers  


Explain me what is fast enumeration?

1 Answers  


Define autorealease pool?

1 Answers  


. How do you change the content of your app in order to change the views displayed in the corresponding window?

1 Answers  


What is callback in ios?

1 Answers  


 Are document objects required for an application? What does they offer?

1 Answers  


Explain your process for tracing and fixing a memory leak iOs?

1 Answers   SwanSoft Technologies,


How respond to state transitions on your app in ios?

1 Answers  


What happens if iapplication object does not handle an event?

1 Answers  


Explain commonly ios libraries

1 Answers  


How to export your private key from your keychain in iphone development?

1 Answers  


Categories