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