weak vs assing vs unsafe_unretained

A weak reference does not extend the lifetime of the object it points to, and automatically becomes nil when there are no strong references to the object Apple Doc



Previous     Next
summertree /
Published under (CC) BY-NC-SA in categories tagged with iOS