Merge pull request #92 from TouchInstinct/fix/iuo
Update type of ViewModel
This commit is contained in:
commit
e9fbae40b3
|
|
@ -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
|
||||
- **Add**: `EmptyCellRow` for empty cell with static height
|
||||
|
||||
## 0.5.12
|
||||
|
||||
- **Fix**: Update type of `viewModel` in `ConfigurableController` to `ImplicitlyUwrappedOptional<ViewModelT>` instead of `ViewModelT`
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ public protocol ConfigurableController {
|
|||
|
||||
associatedtype ViewModelT
|
||||
|
||||
var viewModel: ViewModelT { get }
|
||||
var viewModel: ViewModelT! { get }
|
||||
|
||||
func bindViews()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue