What is a retain cycle?
Answer / Huma Rizvi
A retain cycle occurs when two or more objects maintain strong references to each other, preventing any of them from being deallocated. This leads to memory leaks in Objective-C. To avoid retain cycles, developers should avoid creating property cycles and using weak or unowned references.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the delegate methods of mkmapview?
Explain app id?
What is atomic and nonatomic in iOS operating system? What is run loop in iOS ?
Explain how do I get a call when my ipad rings?
What is ios appdelegate?
What happens if the methods doesn’t exist?
Explain UIView life cycles
What is meaning of 'copy' keyword?
What is message forwarding?
How can an operating system improve battery life while running an app?
What is strong weak in ios?
Introduction to iphone application development?