diff --git a/CHANGELOG.md b/CHANGELOG.md index 32a6b3e9..6fbfadfc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,4 +25,8 @@ - **[Breaking Change]**: rename initializer from `init(initialFrom:)` to `init(resetFrom:)` in `ResettableType` - **Add**: `SeparatorCell` with `SeparatorCellViewModel` - **Add**: `AnyBaseTableRow` for type-erasure -- **Add**: `EmptyCellRow` for empty cell with static height \ No newline at end of file +- **Add**: `EmptyCellRow` for empty cell with static height + +## 0.5.12 + +- **Fix**: Update type of `viewModel` in `ConfigurableController` to `ImplicitlyUwrappedOptional` instead of `ViewModelT` \ No newline at end of file diff --git a/LeadKit.podspec b/LeadKit.podspec index d282fe81..e5284c35 100644 --- a/LeadKit.podspec +++ b/LeadKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LeadKit" - s.version = "0.5.11" + s.version = "0.5.12" 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" diff --git a/Sources/Protocols/ConfigurableController.swift b/Sources/Protocols/ConfigurableController.swift index 9190f9db..fd14a19b 100644 --- a/Sources/Protocols/ConfigurableController.swift +++ b/Sources/Protocols/ConfigurableController.swift @@ -26,7 +26,7 @@ public protocol ConfigurableController { associatedtype ViewModelT - var viewModel: ViewModelT { get } + var viewModel: ViewModelT! { get } func bindViews()