Update initializable and podspec description

This commit is contained in:
Aliona 2019-05-21 14:49:22 +03:00
parent d0b2cbac5a
commit 0332d9848e
3 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,10 @@
# Changelog
### 0.9.22
- **Fix**: Make `Initializable` protocol public.
### 0.9.21
- **Add**: `Initializable` protocol for initializing an array of instances.
- **Add**: `Initializable` protocol and its extension to initialize an array of instances.
### 0.9.20
- **Fix**: `bindBottomInsetBinding(from bottomInsetDriver:)` in `BaseScrollContentController` works correctly now.

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "LeadKit"
s.version = "0.9.21"
s.version = "0.9.22"
s.summary = "iOS framework with a bunch of tools for rapid development"
s.homepage = "https://github.com/TouchInstinct/LeadKit"
s.license = "Apache License, Version 2.0"

View File

@ -22,11 +22,11 @@
import Foundation
/// Protocol for initializing an array of instances
protocol Initializable {
public protocol Initializable {
init()
}
/// Extension for initializing an array of instances
extension Initializable {
static func instantiateArray(count: Int) -> [Self] {