Commit Graph

7 Commits

Author SHA1 Message Date
Ivan Smolin 299fbe37e2 fix linting issues 2019-02-11 13:53:48 +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 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 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 11d529f4c0 InitializableView 2018-05-22 16:20:04 +03:00
Ivan Smolin 437ab6ff6b topConfiguration and bottomConfiguration properties, methods to configure top and bottom separators in CellSeparatorType extension.
totalHeight property in SeparatorConfiguration extension.
2018-04-02 20:21:14 +03:00
Ivan Smolin 03301eec3d DateFormattingService class replaced with protocol.
Add SwiftDate dependency for DateFormattingService.
Add ViewBackground enum that describes possible view backgrounds.
Add ViewText enum that describes text with appearance options.
Removed String+SizeCalculation extension.
2018-03-29 17:17:24 +03:00