
上QQ阅读APP看书,第一时间看更新
Release
Releasing an object causes the reference count to decrease. When the count of references or retainCount becomes 0, the object is deallocated.
Over-releasing is an issue where in an object gets released more than necessary, and could potentially be deallocated before the end of its expected lifespan.