Divide Class into Class + Extension (Swift Refactoring)
Context: You have a class that implements one or more protocols. The class has become long, and it’s confusing to understand what parts are there for the protocols, and what parts are for the class’ internal needs. Solution: Divide the Continue reading Divide Class into Class + Extension (Swift Refactoring)