Skip to content

Commit 59b5942

Browse files
committed
update
1 parent 3e7f0af commit 59b5942

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

DecouplingKit.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Pod::Spec.new do |s|
55
s.version = "0.0.1"
66
s.summary = "DecouplingKit"
77
s.description = "DecouplingKit"
8+
s.license = "MIT"
89

910

1011

DecouplingKit/DKServiceManager.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ - (void)registerLocalServicesWithServiceConfigName:(NSString *)serviceConfigName
5050

5151

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

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

7271
Class implClass = [self serviceImplClass:service];
7372

74-
if ([[implClass class] respondsToSelector:@selector(shareInstance)])
73+
if ([[implClass class] respondsToSelector:@selector(sharedInstance)])
7574
implInstance = [[implClass class] sharedInstance];
7675
else
7776
implInstance = [[implClass alloc] init];

Example/Bussiness1/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ EXTERNAL SOURCES:
1414

1515
SPEC CHECKSUMS:
1616
BussinessPublicService: 671cb1e5f60c09eefdf5f28eaee170220068a654
17-
DecouplingKit: 4867954e90e0a1c4cd1451db07c8b562ac013236
17+
DecouplingKit: b161139761b02057b107f0b4fc8871c11611f947
1818

1919
PODFILE CHECKSUM: bf9066636b339656f63262344b3e56cd02d59837
2020

Example/DecouplingKitExample/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ DEPENDENCIES:
88
- Bussiness1 (from `../Bussiness1`)
99
- Bussiness2 (from `../Bussiness2`)
1010
- BussinessPublicService (from `../BussinessPublicService`)
11-
- DecouplingKit (from `../../DecouplingKit`)
11+
- DecouplingKit (from `../../`)
1212

1313
EXTERNAL SOURCES:
1414
Bussiness1:
@@ -18,14 +18,14 @@ EXTERNAL SOURCES:
1818
BussinessPublicService:
1919
:path: "../BussinessPublicService"
2020
DecouplingKit:
21-
:path: "../../DecouplingKit"
21+
:path: "../../"
2222

2323
SPEC CHECKSUMS:
2424
Bussiness1: 4d47ae41c800e1e13bbb1354614ec89f09e2aeaa
2525
Bussiness2: fe8f5a1fd93aa68faf471cec830d23e718e85618
2626
BussinessPublicService: 671cb1e5f60c09eefdf5f28eaee170220068a654
27-
DecouplingKit: 4867954e90e0a1c4cd1451db07c8b562ac013236
27+
DecouplingKit: b161139761b02057b107f0b4fc8871c11611f947
2828

29-
PODFILE CHECKSUM: b436c05e49297d7d681209771e26b4aea7d0cd7d
29+
PODFILE CHECKSUM: bf5b0afb9975cc549ba9ca3ec3b582e925c0374c
3030

3131
COCOAPODS: 1.0.1

0 commit comments

Comments
 (0)