1 .. title:: clang-tidy - objc-dealloc-in-category
3 objc-dealloc-in-category
4 ========================
6 Finds implementations of ``-dealloc`` in Objective-C categories. The category
7 implementation will override any ``-dealloc`` in the class implementation,
8 potentially causing issues.
10 Classes implement ``-dealloc`` to perform important actions to deallocate
11 an object. If a category on the class implements ``-dealloc``, it will
12 override the class's implementation and unexpected deallocation behavior