Commit Graph

31 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 12b4efe6a9 Add: replaceDataSource method to RxNetworkOperationModel.
Add: customErrorHandler constructor parameter to RxNetworkOperationModel and it heirs.
2018-07-03 14:31:25 +03:00
Madhas d408d1eed6 codable extension public 2018-05-25 18:26:02 +03:00
Ivan Smolin 1d21338de9 fix PaginationWrapper retry button showing 2018-05-24 17:22:19 +03:00
Ivan Smolin 2a98ba3d47 one more fix 2018-05-22 18:56:38 +03:00
Ivan Smolin 609e1a9ff4 Merge branch 'master' into feature/request_network_operation_state
# Conflicts:
#	CHANGELOG.md
#	LeadKit.podspec
#	LeadKit.xcodeproj/project.pbxproj
2018-05-22 17:17:13 +03:00
Ivan Smolin 3e73ff7658 remove NetworkOperationModel and NetworkOperationState 2018-05-22 14:26:30 +03:00
Pavel Lukandiy c49a05270f UI delegate default parameter 2018-05-21 21:18:10 +03:00
Pavel Lukandiy 6982b95659 Refactor and fix annotations 2018-05-21 21:09:56 +03:00
Pavel Lukandiy a6ce1288ba Removed UI delegate generic 2018-05-21 20:44:51 +03:00
Pavel Lukandiy f890fb58e0 Implemented wrapper ui delegate 2018-05-21 20:32:52 +03:00
Ivan Smolin 15a77a8bdb pagination exhausted fix 2018-05-21 20:07:11 +03:00
Ivan Smolin 6417b43df8 fix code review note 2018-05-21 19:16:12 +03:00
Ivan Smolin 8c3c3cb7f5 hide execute from RxDataLoadingModel and it children 2018-05-18 18:56:26 +03:00
Ivan Smolin d600d57260 NetworkOperationState and RequestNetworkOperationModel for tracking network request state. Just like GeneralDataLoadingState but without empty state. 2018-05-18 18:52:40 +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 e6bdba0504 Xcode 9.3 migration 2018-03-30 12:19:27 +03:00
Ivan Smolin 4507f8cd5d SingleLoadCursor replacement and deprecation 2018-03-27 11:59:23 +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
Ivan Smolin b0cee2dee6 code review notes 2018-03-22 14:55:43 +03:00
Ivan Smolin 7c012db927 code review notes 2018-03-22 13:17:15 +03:00
Ivan Smolin 8ab4000b95 make some types 2018-03-22 13:15:23 +03:00
Ivan Smolin a503259eb1 fix runtime crash 2018-03-21 19:22:51 +03:00
Ivan Smolin 96a59c809e add conformance to RxDataSource 2018-03-21 18:55:53 +03:00
Ivan Smolin 323300be63 fix .retry 2018-03-21 18:28:21 +03:00
Ivan Smolin 435fbace1d remove unused code 2018-03-21 17:46:10 +03:00
Ivan Smolin 0b472a1cdc code review notes 2018-03-21 16:51:34 +03:00
Ivan Smolin d20f795db7 code style 2018-03-21 16:51:25 +03:00
Ivan Smolin 03619df2f1 add data loading classes; update PaginationWrapper (collection view support) 2018-03-21 16:24:43 +03:00