A huge class can be written by multiple people, which is more conducive to teamwork
5.2 Notes
Category can access instance variables of the initial class, but cannot add variables, only methods. If you want to add variables, you can consider creating subclasses through inheritance
Category can implement the methods of the original class, but it is not recommended because it directly replaces the original method. The consequence of this is that the original method can no longer be accessed
If the same method is implemented in multiple categories, only the last one involved in compilation will be effective