Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Tell me something about objective-c blocks?



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

Post New Answer

More Objective-C Interview Questions

Why swift is better than objective c?

1 Answers  


When should you call dealloc method?

1 Answers  


What does __ block do?

1 Answers  


What is enum in objective c?

1 Answers  


What is objective c programming used for?

1 Answers  


What are the important data types found in objective-c?

1 Answers  


What can objective c be used for?

1 Answers  


What are static attributes?

1 Answers  


Is struct a class?

1 Answers  


Explain what is the principle distinction between the function calls and messages?

1 Answers  


Can we implement dealloc in arc? If yes, what is the need to do that?

1 Answers  


What is the use of objective c?

1 Answers  


Categories