Commit Graph

52 Commits

Author SHA1 Message Date
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 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 e11b129a75 add base table & collection view controllers 2018-07-27 15:46:17 +03:00
Anton Popkov f20f355a42 SpinnerView animation freezing fix 2018-06-07 16:49:17 +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
Ivan Smolin b320615154 remove copy-paste 2018-04-11 16:24:17 +03:00
Ivan Smolin b364ac6d61 Remove: App, Log and LogFormatter.
Remove: CocoaLumberjack dependency.
Add: Rotate operation for image drawing.
Add: mapViewEvents overload with closure that returns array of disposables.
Update: Update ObjectMapper to 3.1.
2018-04-11 11:41:23 +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 463279d286 text field view model with bindings 2018-03-26 23:37:10 +03:00
Ivan Smolin cb694dcbcf code review notes 2018-03-23 11:29:24 +03:00
Ivan Smolin bfaf668191 fixes 2018-03-22 18:27:47 +03:00
Ivan Smolin 6b74825fd4 add GeneralDataLoadingViewModel and GeneralDataLoadingController protocol 2018-03-22 17:50:29 +03:00
Igor Kislyuk 3fafda7132 Fix spinner 2017-11-21 22:26:32 +03:00
Andrey Ovsyannikov 88e020e6e0 setNeedsUpdateConstraints() moved to configureSeparator() 2017-11-17 17:58:22 +03:00
Andrey Ovsyannikov bb9723bb28 update constraints after setting insets 2017-11-17 17:39:44 +03:00
Igor Kislyuk 15975756f9 Return files for compiling. Drop className 2017-10-19 01:53:56 +03:00
Anton Popkov 425e8f6dad Cell first appearance setup fix 2017-10-17 15:28:41 +03:00
Anton Popkov f55876b6a2 Whitespaces removing 2017-10-17 10:48:21 +03:00
Anton Popkov f60c94986a Cell appearance reseting fix 2017-10-17 10:39:44 +03:00
Igor Kislyuk c23a9beb45 Fix background color 2017-10-14 21:43:02 +03:00
Igor Kislyuk 85919e2a0a Fix alingment 2017-10-14 18:15:22 +03:00
Anton Popkov 148a964fb0 Rename AppearanceProtocol to AppearanceConfigurable
Other minor fixes
2017-10-14 16:48:15 +03:00
Anton Popkov cc26bdbd68 Code review inspections fix vol. 4 2017-10-13 16:47:28 +03:00
Anton Popkov 6c29696367 Code review inspections fix vol. 2 2017-10-13 16:08:22 +03:00
Anton Popkov 06a208bb76 Code review inspections fix 2017-10-13 16:02:05 +03:00
Anton Popkov 5c85bf2e5d EmptyCell default appearance fix 2017-10-13 15:01:20 +03:00
Anton Popkov f7868ad827 Move EmptyCellAppearance to EmptyCell 2017-10-13 13:56:36 +03:00
Anton Popkov 1ba179028e Rename AppearanceProtocol update(appearance:) method to configure(appearance:) 2017-10-13 13:51:51 +03:00
Anton Popkov 26ebaa48e9 Separator cell refactoring 2017-10-12 23:12:09 +03:00
Anton Popkov 84e4155929 Move separatorRowBox property from EmptyCellRow to TableRow extension 2017-10-12 16:11:55 +03:00
Anton Popkov 5102f4adf1 Remove type erasure from AnyBaseTableRow
Rename AnyBaseTableRow to SeparatorRowBox
2017-10-12 15:14:43 +03:00
Igor dca12659d1 Few clarifications 2017-10-10 23:59:13 +03:00
Igor 827d8a3ca2 Update for review 2017-10-10 23:56:39 +03:00
Igor a5a6148bf1 Update seleciton style 2017-10-10 17:25:06 +03:00
Igor 54ba8531b7 Update for code-review 2017-10-10 13:53:24 +03:00
Igor 24ae2c5160 Add extension + update podspec 2017-10-10 13:47:43 +03:00
Igor 1b16b2435a Update for code-review 2017-10-10 13:29:37 +03:00
Igor 47f942e3a5 Fix code style & documentation 2017-10-10 10:25:21 +03:00
Igor e97a357e02 Update empty cell 2017-10-10 09:50:25 +03:00
Igor b7d639a3c8 Fix bug with wrong layout events 2017-10-09 20:30:48 +03:00
Igor ab6af95df3 Fix init 2017-10-09 19:36:04 +03:00
Igor 0ef07e8bc6 Fix building for cells 2017-10-09 17:29:48 +03:00
Igor 323675115c Merge branch 'master' into feature/base-cell 2017-10-09 14:19:55 +03:00
Igor ac82606f28 Fix init 2017-10-08 18:49:37 +03:00
Igor 79ebf34529 Fix modifiers 2017-10-08 18:26:56 +03:00
Igor 6d16303908 Add SeparatorConfiguration 2017-10-08 17:27:05 +03:00
Igor 979a30febf Add base cell 2017-10-08 17:17:45 +03:00
Pavel Lukandiy e845758204 DiferredJust for Single 2017-09-04 22:20:25 +03:00
Igor Kislyuk 1e34ad17ce Fix. Xibname reflection 2017-08-07 15:42:49 +03:00
Igor Kislyuk bc3d4f7901 Add. Configuration for XibView 2017-07-31 13:53:20 +03:00