diff --git a/README.md b/README.md index e936b52..a49db8e 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/ServiceContainerKit.podspec b/ServiceContainerKit.podspec index 09be671..f6a8acc 100644 --- a/ServiceContainerKit.podspec +++ b/ServiceContainerKit.podspec @@ -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. diff --git a/ServiceInjects.podspec b/ServiceInjects.podspec index 5813d73..a506ba0 100644 --- a/ServiceInjects.podspec +++ b/ServiceInjects.podspec @@ -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. @@ -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'