Skip to content

Commit

Permalink
Update podspecs
Browse files Browse the repository at this point in the history
  • Loading branch information
ProVir committed Jan 7, 2021
1 parent a34888d commit 2f48a5e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ func testSecond() {
// userService inject success
}
```

To inject a service from a provider with parameters, use `@ServiceParamsInject`. Parameters can be set immediately or later.
Parameters can only be specified once, until they are set, the service will not be injected.

Expand Down
4 changes: 3 additions & 1 deletion ServiceContainerKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Pod::Spec.new do |s|
version = '3.0.0'

s.name = "ServiceContainerKit"
s.version = "3.0.0-rc1"
s.version = version
s.summary = "Kit to create your own IoC Container or ServiceLocator."
s.description = <<-DESC
Written in Swift.
Expand Down
8 changes: 5 additions & 3 deletions ServiceInjects.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
Pod::Spec.new do |s|
version = '3.0.0'

s.name = "ServiceInjects"
s.version = "3.0.0-rc1"
s.summary = "Simple services and entities injects"
s.version = version
s.summary = "Simple injects for services and entities"
s.description = <<-DESC
Written in Swift.
ServiceInject used for injects services in presentation layer.
Expand All @@ -20,7 +22,7 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '3.0'

s.dependency 'ServiceContainerKit', '3.0.0-rc1'
s.dependency 'ServiceContainerKit', version
s.source_files = ['ServiceInjects/Sources/*.swift', 'ServiceInjects/Sources/*.h']
s.public_header_files = 'ServiceInjects/Sources/*.h'

Expand Down

0 comments on commit 2f48a5e

Please sign in to comment.