Commit Graph

12 Commits

Author SHA1 Message Date
Vlad 5afbc2ffa5 refactor: update swiftlint to 39.1 2021-01-11 23:26:23 +03:00
Vlad 7cffa29c7f [Add] @discardableResult to func replace(with section…) 2020-04-15 15:25:04 +03:00
Ivan Smolin 299fbe37e2 fix linting issues 2019-02-11 13:53:48 +03:00
Sergey Kopytov c76b2e1745 update podspecs 2018-12-17 15:29:30 +03:00
Sergey Kopytov 445600534d add functions to sections 2018-12-17 15:16:30 +03:00
Ivan Smolin e7eb1bd51f Add: configureLayout method to InitializeableView protocol and all implementations.
Update: GeneralDataLoadingViewModel now can handle state changes and result of data source. Previously it was possible only in view controller.
Add: GeneralDataLoadingHandler protocol, that defines methods for common data loading states handling.
Add: resultObservable and resultDriver properties to GeneralDataLoadingViewModel.
Add: hidesWhenStopped option to SpinnerView, so you can stop animation without hiding image inside it.
Update: Migrate to Swift 4.2 & Xcode 10. Update dependencies.
2018-10-12 17:22:49 +03:00
Ivan Smolin 2e70e8248d Add: UserDefaults+Codable is back. Now with generic subscript support. 2018-09-14 19:40:51 +03:00
Ivan Smolin b27bd9d0e2 code review notes 2018-09-14 12:22:07 +03:00
Ivan Smolin 30bec8e9c7 Add: NSNumberConvertible protocol for NumberFormattingService use cases.
Add: TableDirector methods for rows insertion and removal without reload a whole table.
Add: UIImageView binder for disclosure indicator rotation.
Add: UIView.addSubviews(:) methods with variable number of arguments and array of views.
Add: PlaceholderConfigurable that defines attributes and methods for view with placeholder and regular state.
Add: ContentLoadingViewModel enum that describes possible PlaceholderConfigurable view states.
2018-09-13 20:07:04 +03:00
Ivan Smolin 079a723ef1 forgotten public 2018-08-07 16:32:49 +03:00
Ivan Smolin c1fe170c51 Add: Methods replace(with:), asVoid(), asOptional() to ObservableType, SharedSequence (aka Driver) and Single.
Add: Completable.deferredJust(:) static method.
Add: ViewTextConfigurable protocol. Conform UILabel, UITextField and UIButton to this protocol.
Add: BaseTextAttributes with base text appearance attributes.
Update: ViewText.string now uses BaseTextAttributes instead of separate properties.
Add: BasePlaceholderView and BasePlaceholderViewModel classes used to create your own placeholder.
Add: TableKitViewModel protocol that adds convenient extensions to cell view models that implements it.
2018-08-07 16:26:43 +03:00
Ivan Smolin 7249bf66dc - Update: Migrate from Variable to BehaviorRelay.
- Fix: PaginationWrapper retry load more after fail.
- Fix: safeClear method of TableDirector now creates section without header and footer.
- Add: TableSection convenience initializer.
2018-05-11 20:16:28 +03:00