Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Advanced guard of DeallocationChecker

r-plus
November 11, 2019

Advanced guard of DeallocationChecker

Advanced guard of DeallocationChecker
potatotips #66 at Yappli

Referenced URLs:
- https://github.com/fastred/DeallocationChecker
- https://speakerdeck.com/corin8823/iosdc-2018-memory-leak

r-plus

November 11, 2019
Tweet

More Decks by r-plus

Other Decks in Technology

Transcript

  1. Recap ▸ λϒతͳview controllerͰchild view controllerΛอ༗ ͯ͠Δέʔεʹ͓͍ͯɺλϒ੾ସ࣌ʹdeinit͞Ε͍ͯͳ ͍ͷ͸ϝϞϦϦʔΫͰ͸ͳ͍ʢద੾ʹͳ͍ͬͯΕ͹ʣ ▸ Swizzling,

    AssociatedObject, MirrorΛ૊Έ߹ΘͤΕ͹ parentͷܕ͕ෆ໌Ͱ΋stored propertyʹࣗ਎Λอ༗͠ ͍ͯΕ͹แׅతʹϦʔΫνΣοΫର৅֎ͱग़དྷΔ