Commit Graph

22 Commits

Author SHA1 Message Date
Vlad 5afbc2ffa5 refactor: update swiftlint to 39.1 2021-01-11 23:26:23 +03:00
Vlad a524ff7855 Fix naming 2020-08-07 14:34:21 +03:00
Vlad fcc5805dac Replace retry button with retry view 2020-08-07 14:10:21 +03:00
Ivan Smolin 299fbe37e2 fix linting issues 2019-02-11 13:53:48 +03:00
Ivan Smolin 0c37bea3cf update dependencies, add cartfile 2019-01-29 15:52:33 +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 2cebfd7ffd base controllers 2018-07-23 11:45:17 +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
Ivan Smolin 3c99b31da0 fix default implementation of PaginationWrapperUIDelegate 2018-05-22 18:40:31 +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 cbb647afe7 Merge branch 'feature/newflow' of github.com:TouchInstinct/LeadKit into feature/newflow
# Conflicts:
#	CHANGELOG.md
#	LeadKit.xcodeproj/project.pbxproj
2018-05-22 16:23:10 +03:00
Ivan Smolin 11d529f4c0 InitializableView 2018-05-22 16:20:04 +03:00
Pavel Lukandiy a9536d3cff Targets fix 2018-05-22 14:54:18 +03:00
Pavel Lukandiy f890fb58e0 Implemented wrapper ui delegate 2018-05-21 20:32:52 +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 5d206ea718 convenient typealias PaginationWrapperType 2018-03-27 13:17:16 +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 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