Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
coderyi committed Mar 10, 2017
1 parent 3e7f0af commit 59b5942
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions DecouplingKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Pod::Spec.new do |s|
s.version = "0.0.1"
s.summary = "DecouplingKit"
s.description = "DecouplingKit"
s.license = "MIT"



Expand Down
3 changes: 1 addition & 2 deletions DecouplingKit/DKServiceManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ - (void)registerLocalServicesWithServiceConfigName:(NSString *)serviceConfigName


- (Class)createClass:(Protocol *)service {
id implInstance = nil;

if (![self checkValidService:service]) {
NSLog(@"%@", [NSString stringWithFormat:@"%@ protocol does not been registed", NSStringFromProtocol(service)] );
Expand All @@ -71,7 +70,7 @@ - (id)createInstance:(Protocol *)service

Class implClass = [self serviceImplClass:service];

if ([[implClass class] respondsToSelector:@selector(shareInstance)])
if ([[implClass class] respondsToSelector:@selector(sharedInstance)])
implInstance = [[implClass class] sharedInstance];
else
implInstance = [[implClass alloc] init];
Expand Down
2 changes: 1 addition & 1 deletion Example/Bussiness1/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
BussinessPublicService: 671cb1e5f60c09eefdf5f28eaee170220068a654
DecouplingKit: 4867954e90e0a1c4cd1451db07c8b562ac013236
DecouplingKit: b161139761b02057b107f0b4fc8871c11611f947

PODFILE CHECKSUM: bf9066636b339656f63262344b3e56cd02d59837

Expand Down
8 changes: 4 additions & 4 deletions Example/DecouplingKitExample/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DEPENDENCIES:
- Bussiness1 (from `../Bussiness1`)
- Bussiness2 (from `../Bussiness2`)
- BussinessPublicService (from `../BussinessPublicService`)
- DecouplingKit (from `../../DecouplingKit`)
- DecouplingKit (from `../../`)

EXTERNAL SOURCES:
Bussiness1:
Expand All @@ -18,14 +18,14 @@ EXTERNAL SOURCES:
BussinessPublicService:
:path: "../BussinessPublicService"
DecouplingKit:
:path: "../../DecouplingKit"
:path: "../../"

SPEC CHECKSUMS:
Bussiness1: 4d47ae41c800e1e13bbb1354614ec89f09e2aeaa
Bussiness2: fe8f5a1fd93aa68faf471cec830d23e718e85618
BussinessPublicService: 671cb1e5f60c09eefdf5f28eaee170220068a654
DecouplingKit: 4867954e90e0a1c4cd1451db07c8b562ac013236
DecouplingKit: b161139761b02057b107f0b4fc8871c11611f947

PODFILE CHECKSUM: b436c05e49297d7d681209771e26b4aea7d0cd7d
PODFILE CHECKSUM: bf5b0afb9975cc549ba9ca3ec3b582e925c0374c

COCOAPODS: 1.0.1

0 comments on commit 59b5942

Please sign in to comment.