0

I have a singleton manager class that have around 4000+ line of code. I have to decouple this class. So i have a way to use extension and protocol to decouple this class, but i would like to know some other way to decoupling. Please suggest if any way possible.

  • You should post more information for your trouble, just this we can not know how to help you. – aircraft Apr 10 '17 at 08:10
  • You should probably read up on the different types of architecture patterns you could use and see which fits your needs best. Sample reference: https://medium.com/ios-os-x-development/ios-architecture-patterns-ecba4c38de52 – Hodson Apr 10 '17 at 08:22
  • I found solution for it. I am going to use multiple inheritance & protocol to decouple large size class. – Suresh Kansujiya Apr 10 '17 at 11:40

0 Answers0