Is the delegate for a CAAnimation retained in iOS operating system?



Is the delegate for a CAAnimation retained in iOS operating system?..

Answer / Shalabh Kapoor

No, by default the delegate for a CAAnimation is not retained. You must either strong retain the animation's delegate or use an autorelease delegate when setting it to prevent the delegate from being deallocated before the animation finishes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

How to debug a crash in the auto-release pool?

1 Answers  


When dealing with property declarations, what is the difference between atomic and non-atomic?

1 Answers  


Explain xib?

1 Answers  


Who calls the main function of you app during the app launch cycle in iOS operating system?

1 Answers   TryTechnicals Pvt Ltd,


What is the meaning of 'synthesize' keyword?

1 Answers  


Define decoding or deserialization and encoding or serialization?

1 Answers  


What is context in core data ios?

1 Answers  


What does 2x resolution mean?

1 Answers  


How to use reusable cell in uitableview?

1 Answers  


Compare and contrast the different ways of achieving concurrency in os x and ios.

1 Answers  


When an app is said to be in active state?

1 Answers  


What is the difference strong and weak reference?

1 Answers  


Categories