iOS Developer Question: Download iOS Developer PDF

What is synchronized() block in objective c? what is the use of that?

Tweet Share WhatsApp

Answer:

The @synchronized()directive locks a section of code for use by a single thread. Other threads are blocked until the thread exits the protected code.

Download iOS Developer PDF Read All 102 iOS Developer Questions
Previous QuestionNext Question
What is the meaning of "weak" keyword?What are the Application lifecycle in iOS?