What is the difference between weak and unowned?
Answer / Varsha Choudhary
Weak references do not increase the retain count of the referenced object, and they are set to nil automatically when the referenced object is deallocated. Unowned references also do not increase the retain count but cannot be nil; this means that the referencing object must be assured to exist before using the unowned reference.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do I create a bridging header file?
Can you use objective c in swift?
How to call function in objective-c?
Explain application life cycle or application states?
Can I write some c++ function in same .m file?
What is delegation protocol?
What is .m file in objective c?
How to call a function in objective-c?
What is the difference between #import and #include in objective-c?
Is objective c faster than swift?
What are the important data types found in objective-c?
Is objective c hard to learn?