Commit Graph

194 Commits

Author SHA1 Message Date
Ivan Smolin 54bb41e5ff fix swiftlint issues 2020-01-22 14:10:15 +03:00
Ivan Smolin 1f6370fd73 update dependencies, pin swiftlint version 2020-01-14 12:50:58 +03:00
Ivan Babkin 31bb4d9798 Add method for processing cursor response 2019-08-30 14:06:23 +03:00
Ivan Babkin dac88ebe98 Make TotalCountCursor open and not final 2019-08-30 12:22:15 +03:00
Artur d4fa2d1109 Realization updated 2019-05-20 16:20:45 +03:00
Artur d05b1b00c9 TableView Content offset binding was fixed 2019-05-20 15:27:37 +03:00
Artur ef2e351eae Some fix 2019-04-25 19:16:06 +03:00
Artur Azarau b99870183b Dead code deleted 2019-04-23 14:31:33 +03:00
Artur Azarau 469073a5e9 Documentation for classes added 2019-04-23 13:11:20 +03:00
Artur Azarau c4798d6015 Issues resolved 2019-04-23 13:04:51 +03:00
Artur Azarau a3f43a93e8 Issues resolved 2019-04-23 11:30:27 +03:00
Artur d8bb1ce6b0 New line deleted 2019-04-22 20:07:46 +03:00
Artur f1aefb5378 BigBossButtonState was renamed to CustomizableButtonState 2019-04-22 20:04:54 +03:00
Artur ac291e4ef1 Merge branch 'master' into feature/CustomizableButton 2019-04-22 19:43:53 +03:00
Artur 08b87a0782 Self code review 2019-04-22 19:42:18 +03:00
Artur 223ca6a67e Typo fixed 2019-04-19 18:00:36 +03:00
Artur 544d5bc248 Issues resolved 2019-04-19 17:58:39 +03:00
Pavel Lukandiy fc3708c793 Removed estimated height 2019-04-17 15:26:17 +03:00
Artur 05ce8e9d4f Class was renamed 2019-04-16 18:10:26 +03:00
Artur 8d0320fe26 Customizable button was added 2019-04-16 18:08:28 +03:00
Pavel Lukandiy 12f49c9b51 Added snapkit dependency
Added label table cell
2019-04-15 16:38:32 +03:00
Artur 0447c53709 Merge branch 'master' into baseSearchViewController 2019-04-09 15:59:06 +03:00
Artur 6f8c4e2b67 More fixes 2019-03-27 14:32:15 +03:00
Artur 053c08443b Fixes 2019-03-27 13:52:38 +03:00
Artur 7d96e07b4e Merge master 2019-03-26 20:22:04 +03:00
Ivan Babkin b30447e877 Refactoring 2019-03-25 19:56:25 +03:00
Ivan Babkin df2f969dc4 Added upload file request 2019-03-20 14:58:01 +03:00
Pavel Lukandiy d9f7da35f1 Added missing function 2019-03-19 16:05:57 +05:00
Ivan Babkin 95202a4ff1 Fixed documentation 2019-03-06 16:42:26 +03:00
Ivan Babkin a53dad9777 Add validStatusCodes pararmeter to request methods 2019-03-06 14:39:37 +03:00
Ivan Babkin dbc5bf9a17 Refactoring 2019-02-22 13:24:49 +03:00
Ivan Babkin 3c1ee70ff3 Add request method that returns data 2019-02-21 16:39:15 +03:00
Ivan Smolin 299fbe37e2 fix linting issues 2019-02-11 13:53:48 +03:00
Ivan Smolin fb813b259f remove extension target and extension subspec 2019-01-30 13:52:21 +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 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 0b5b6e8358 code review notes 2018-07-30 15:48:51 +03:00
Ivan Smolin 667c15aa33 code review notes 2018-07-30 14:43:59 +03:00
Ivan Smolin e11b129a75 add base table & collection view controllers 2018-07-27 15:46:17 +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
Anton Popkov f20f355a42 SpinnerView animation freezing fix 2018-06-07 16:49:17 +03:00
Madhas d408d1eed6 codable extension public 2018-05-25 18:26:02 +03:00
Madhas bba41c7122 add init to SessionManager 2018-05-25 16:22:43 +03:00
Madhas 996081f65e corrections 2018-05-25 15:55:48 +03:00
Madhas 0996d94814 Merge branch 'master' into feature/codable 2018-05-25 15:21:04 +03:00
Madhas 85e58127b7 add SesionManager class
some refactor
2018-05-25 15:19:30 +03:00
Madhas 475e801393 correct ObservableMappable 2018-05-25 14:36:12 +03:00
Ivan Smolin 1d21338de9 fix PaginationWrapper retry button showing 2018-05-24 17:22:19 +03:00
Madhas 6cc6971d60 Merge branch 'master' into feature/codable 2018-05-24 13:05:31 +03:00
Madhas 0ee26e3e8c remove occurrences of ObjectMapper 2018-05-24 12:37:36 +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
Madhas 98ef4ca86e all methods moved to Decodable 2018-05-16 15:52:32 +03:00
Madhas 9d3b3bd223 move normal request to Decodable 2018-05-15 22:10:24 +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
Alexey Gerasimov ed13f119f3 NetworkServiceConfiguration added 2018-04-05 22:02:44 +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 e6bdba0504 Xcode 9.3 migration 2018-03-30 12:19:27 +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
Ivan Smolin 4507f8cd5d SingleLoadCursor replacement and deprecation 2018-03-27 11:59:23 +03:00
Ivan Smolin 384180443b fix network service background thread crash 2018-03-27 11:43:15 +03:00
Ivan Smolin 463279d286 text field view model with bindings 2018-03-26 23:37:10 +03:00
Ivan Smolin 24695b1dae replace DefaultNetworkService with protocol and default implementation 2018-03-26 16:13:35 +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
Ivan Smolin 1477043499 add TotalCountCursor and related stuff 2018-03-20 19:25:03 +03:00
Ivan Smolin c99881288a fix liner warnings 2018-03-20 18:24:52 +03:00
Ivan Smolin c8403eb639 add acceptable status codes to network service constructor 2017-12-01 15:28:44 +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
Ivan Smolin c22433459e fix deprecations and remove obsolete extensions and protocols 2017-10-18 20:48:40 +03:00
Ivan Smolin ba33d47e2c Merge branch 'master' into feature/swift4
# Conflicts:
#	LeadKit.podspec
#	Sources/Extensions/String/String+SizeCalculation.swift
2017-10-18 19:17:04 +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