how to execute the specific code only once in objective-c

0 votes
140 views
asked Dec 19, 2014 in Objective C by admin (8,115 points)
Hi

 how to execute the specific code  only once in objective-c?

1 Answer

0 votes
answered Dec 19, 2014 by kalpana (3,995 points)

Hi

 dispatch_once_t which ensures that the initialization code executes only once

...