BeeHive
BeeHive copied to clipboard
建议在`BHServiceManager.h` 中把获取类名的方法也给暴露出来;而 createService 只提供返回了实体对象。
建议在BHServiceManager.h
中把获取类名的方法- (Class)serviceImplClass:(Protocol *)service;
也给暴露出来,因为有的protocol可能有类方法,在调用类方法时候时可能还没必要创建实体对象。