DecouplingKit alternatives and similar libraries
Based on the "Code Quality" category.
Alternatively, view DecouplingKit alternatives based on common mentions on social networks and blogs.
-
OCLint
A static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C -
IBAnalyzer
Find common xib and storyboard-related problems without running your app or writing unit tests. -
SwiftCop
SwiftCop is a validation library fully written in Swift and inspired by the clarity of Ruby On Rails Active Record validations. -
Warnings-xcconfig
An xcconfig (Xcode configuration) file for easily turning on a boatload of warnings in your project or its targets. -
PSTModernizer
Makes it easier to support older versions of iOS by fixing things and adding missing methods -
Trackable
Trackable is a simple analytics integration helper library. It’s especially designed for easy and comfortable integration with existing projects.
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of DecouplingKit or a related project?
README
DecouplingKit
Podfile
platform :ios, '7.0'
pod 'DecouplingKit', '~> 0.0.2'
DecouplingKit, decoupling between modules in your iOS Project.
DDKServiceManager, used to load the service list DKService.plist, the service is a business's protocol. DKService.plist includes service and impl, service is protocol, impl is the implementation of the protocol class.
DecouplingKit is based on BeeHive, Another way to decouple is the runtime, such as CTMediator, this is a very good program.
Use
Register the default DKService.plist service list
[[DKServiceManager sharedInstance] registerLocalServices];
Register a list of custom paths for services
[[DKServiceManager sharedInstance] registerLocalServicesWithServiceConfigName:@"DecouplingKit.bundle/DKService"];
singleton
id<Bussiness2ServiceProtocol> bussiness2 =[[DKServiceManager sharedInstance] createInstance:@protocol(Bussiness2ServiceProtocol)];
NSDictionary *data =[bussiness2 fetchBussiness2DataWithName:@"DecouplingKit" age:@"1"];
Create a class and then call the corresponding class method
Class Bussiness2 = [[DKServiceManager sharedInstance] createClass:@protocol(Bussiness2ServiceProtocol)];
[Bussiness2 callClassMethod];
Create a service protocol for your business class
@protocol Bussiness2ServiceProtocol <DKServiceProtocol>
@property (nonatomic,copy) NSString *name;
- (NSDictionary *)fetchBussiness2DataWithName:(NSString *)name age:(NSString *)age;
+ (void)callClassMethod;
@end
Licenses
All source code is licensed under the MIT License.
*Note that all licence references and agreements mentioned in the DecouplingKit README section above
are relevant to that project's source code only.