Slide 70
Slide 70 text
deinit Ͱ init ͱಉ༷ʹσʔλϨʔε͕
ൃੜ͢ΔՄೳੑ͕͋Δ
͞Βʹɺ͜ͷඇಉظλεΫʹΑͬͯselfͷण໋Λ
ʢdeinit ͷऴྃޙΛ͑ͯʣԆͯ͠
͠·͏Մೳੑ͕͋Δ
Object 0x6000025a4200 of class Counter
deallocated with non-zero retain count 2.
This object's deinit, or something called
from it, may have created a strong reference
to self which outlived deinit, resulting
in a dangling reference.
࣮ߦ͢ΔͱΫϥογϡ͢Δ