I am confused with Apple material.
In 3 ways we manage the memory, they are :
- automatic referance counting.
- manual reference counting.
- garbage colletion.
My doubt is what is the difference between automatic reference counting and manual referance counting.
Can someone explain me ?
In ARC you don’t have to release/autorelease the memory allocated by you where as in case of manual you have to take care of this.
e.g. manual case
ARC case