24/7 twenty-four seven

iOS/OS X application programing topics.

2010-05-14から1日間の記事一覧

delegate オブジェクトは retain すべきではない

Delegating objects do not (and should not) retain their delegates. However, clients of delegating objects (applications, usually) are responsible for ensuring that their delegates are around to receive delegation messages. To do this, they…