employer cover photo
employer logo
employer logo

Goqii Technologies

Is this your company?

Goqii Technologies interview question

4. Strong, weak and retain cycle?

Interview Answer

Anonymous

1 July 2017

These are properties which are relate to Memory management Reference Counting and Ownership. Strong property : when any object A having strong reference to any other object B then it means A needs B to exist In memory by incrementing its Reference count by 1 .. while in same case B reference to A with weak property then it means it just having referenced to A without needing to have its reference count in memory .. and this way it's also manage retain release cycle. Hope this helps.

1