I was studying Mediator Pattern and I noticed that to use this pattern you should register the Colleagues into Mediator from the Colleague concrete classes. for that we have to make an instance of Mediator inside Colleague concrete classes which violates IoC and you can not inject the Colleagues into Mediator  (as far as I know! whether it is right or wrong)Questions:1- Am I right about the thing I said?2- Shall we always use IoC at all or there are some times you can forget about it?3- If we always have to use IoC, can we say Mediator is an anti-Pattern?
Shall we always use IoC in our designs?
design;design patterns;ioc