iOS组件化简单demo 包含两个业务组件、一个中间组件、主工程 + (void)registClass:(Class)class forProtocol:(Protocol *)protocol { [[CSModuleManager defaultManager] registClass:class forProtocol:protocol]; } + (nullable id)instanceForProtocol:(Protocol *)protocol { return [[CSModuleManager defaultManager] instanceForP