What is meaning of 'retain' keyword?



What is meaning of 'retain' keyword?..

Answer / Ashok Banjara

'retain' is a method used in Objective-C to increase the reference count of an object, preventing it from being deallocated.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

Will iphone 7 get ios 13?

1 Answers  


What is the difference between synchronous & asynchronous task ?

1 Answers  


Explain the difference between viewdidload and viewdidappear?

1 Answers  


What is the difference between cocoa and cocoa touch?

1 Answers  


How to use reusable cell in uitableview?

1 Answers  


What’s the difference between an “app id” and a “bundle id” and what is each used for?

1 Answers  


What are most ios apps written in?

1 Answers  


Can we use ssl to encrypt the app communication?

1 Answers  


Explain ios 7 airdrop?

1 Answers  


What are layer objects in iOS operating system?

1 Answers   SwanSoft Technologies,


What is nsmanagedobject?

1 Answers  


What does use core data mean in xcode?

1 Answers  


Categories