This repository was archived by the owner on May 9, 2023. It is now read-only.
This repository was archived by the owner on May 9, 2023. It is now read-only.
Ivars should be directly accessed in init'ers #6
Closed
Description
Right now the guide simply says to use direct ivar access in dealloc
. You should also directly access ivars in init*
methods. More generally, you shouldn't really be invoking any method inside init*
or dealloc
methods. Other methods (including accessors that may be overridden) may expecting the object to be in a fully constructed state. When you're inside one of these methods, that is not the case.
Activity