Update initializable and podspec description
This commit is contained in:
parent
d0b2cbac5a
commit
0332d9848e
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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] {
|
||||
|
|
|
|||
Loading…
Reference in New Issue