Commit Graph

196 Commits

Author SHA1 Message Date
Ivan Smolin 2cebfd7ffd base controllers 2018-07-23 11:45:17 +03:00
Ivan Smolin 3a8be1bc8c add compile time debug & reduce type check time 2018-07-23 11:42:37 +03:00
Ivan Smolin 27806bc9e9 fix date migration to region before formatting 2018-07-23 11:42:37 +03:00
Aliona 662010fc0f Update pull according to comments 2018-07-12 14:39:04 +03:00
Aliona f69f4a12ae Move string extension to a separate file 2018-07-11 19:42:08 +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
Igor Kislyuk 06f4121b69 Update localized component 2018-05-29 22:55:10 +03:00
Madhas 754875556d encodable extension renamed
init from json added to Decodable
2018-05-25 19:45:23 +03:00
Madhas d408d1eed6 codable extension public 2018-05-25 18:26:02 +03:00
Madhas 3ef5795bfc rename AlamofireRequest file 2018-05-25 16:26:36 +03:00
Madhas ca9b2eaca3 rename AlamofireManager extension file 2018-05-25 16:23:59 +03:00
Madhas 996081f65e corrections 2018-05-25 15:55:48 +03:00
Madhas 85e58127b7 add SesionManager class
some refactor
2018-05-25 15:19:30 +03:00
Madhas e647052af2 correct response processing 2018-05-25 14:47:16 +03:00
Madhas 475e801393 correct ObservableMappable 2018-05-25 14:36:12 +03:00
Madhas 6cc6971d60 Merge branch 'master' into feature/codable 2018-05-24 13:05:31 +03:00
Madhas 32eefa77a6 rename observable mappable method 2018-05-24 13:02:13 +03:00
Madhas 3edfe50164 code review corrections 2018-05-24 12:57:30 +03:00
Madhas 0ee26e3e8c remove occurrences of ObjectMapper 2018-05-24 12:37:36 +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
Igor Kislyuk 36f059da06 Merge branch 'master' into feature/newflow
# Conflicts:
#	CHANGELOG.md
2018-05-22 16:59:07 +03:00
Igor Kislyuk 53c9e23b21 Remove empty lines 2018-05-22 16:47:17 +03:00
Igor Kislyuk 9004c5f553 Update empty characters 2018-05-22 16:41:19 +03:00
Igor Kislyuk 87e4789625 Merge branch 'master' into fix-typos
# Conflicts:
#	CHANGELOG.md
#	LeadKit.podspec
2018-05-22 16:37:40 +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
Madhas a28805846b toJSON method on encodable 2018-05-20 18:53:31 +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
Sasha Malina 7afa723ed5 Undo useless changes 2018-05-12 00:31:26 +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
Sasha Malina f0fb443f6b Fix double rounding issue & typo
In current state "normal" rounding type produce error:
`3.14.roundValue(withPrecision: 0) == 4`,
`3.14.roundValue(withPrecision: 1) == 3.2`, looks strange.
Fix typo in word `precision`, improve description
2018-05-10 12:28:48 +03:00
Alexey Gerasimov d06ede6a19 Float80 extension removed 2018-04-17 21:32:41 +03:00
Alexey Gerasimov 588b097d42 Fixed: pullRequest comments 2018-04-17 19:32:36 +03:00
Alexey Gerasimov aba4068fb5 UniversalMappable added 2018-04-17 19:08:07 +03:00
Ivan Smolin 9473e46d1b Fix: addHeaderBackground cells overlapping. 2018-04-13 14:00:38 +03:00
Igor Kislyuk 03b4dc6ac5 Fix typo 2018-04-11 20:51:43 +03:00
Igor Kislyuk c168b64d2c Fix typo 2018-04-11 20:49:53 +03:00
Madhas 3fdbc72324 Merge branch 'feature/small_changes' into fix/view+autolayout 2018-04-11 16:56:53 +03:00
Madhas fc591bba0c change log + comments 2018-04-11 16:51:32 +03:00
Madhas 0c27f3b81d pleasuring swiftlint 2018-04-11 16:45:25 +03:00
Madhas f1da683009 Merge branch 'master' into fix/view+autolayout 2018-04-11 16:40:01 +03:00
Madhas d15a10857f setToCenter with insets updated 2018-04-11 16:39:03 +03:00
Ivan Smolin a9be9b8f13 Merge branch 'master' into feature/small_changes 2018-04-11 16:35:25 +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
sasha malina d267f0a58e Fix doubling separator line issue
The problem is that for 2..last-1 rows performs .full(middleSeparatorConfiguration, middleSeparatorConfiguration) action, that leads to doubling separator line height
2018-04-10 20:00:27 +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
Alexey Gerasimov e5d50f11d5 Merge branch 'master' into feature/date_formatting_view_background_and_text
# Conflicts:
#	CHANGELOG.md
2018-03-30 19:43:40 +03:00
Alexey Gerasimov 63324eec7e Ooops 2018-03-30 19:32:23 +03:00
Alexey Gerasimov 828d63838c Refactored 2018-03-30 19:27:30 +03:00
Alexey Gerasimov 11cce2d920 Change root controller fixed 2018-03-30 19:22:19 +03:00
Ivan Smolin e6bdba0504 Xcode 9.3 migration 2018-03-30 12:19:27 +03:00
Alexey Gerasimov 9a4d934cc2 Refactored 2018-03-29 20:00:13 +03:00
Alexey Gerasimov e296f5ee77 Comment added 2018-03-29 19:52:30 +03:00
Alexey Gerasimov 934121690d Safe area support added 2018-03-29 19:22:46 +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 5c88f34333 Extension for comparing optional arrays (`[T]?`) with `Equatable` elements.
`additionalHttpHeaders` static field in `ConfigurableNetworkService` protocol.
Default initializer for Network service that conforms to `ConfigurableNetworkService` protocol.
2018-03-28 19:03:35 +03:00
Ivan Smolin 3fe60ef94a add safeClear for TableDirector 2018-03-27 16:42:45 +03:00
Ivan Smolin 7c548954fb neatify 2018-03-27 14:36:29 +03:00
Ivan Smolin 3d3736bf8f NSAttributedString extensions 2018-03-27 14:33:55 +03:00
Ivan Smolin 5d206ea718 convenient typealias PaginationWrapperType 2018-03-27 13:17:16 +03:00
Ivan Smolin 4507f8cd5d SingleLoadCursor replacement and deprecation 2018-03-27 11:59:23 +03:00
Ivan Smolin c7e5687f0b UIApplication+openUrl and telprompt 2018-03-27 11:42:55 +03:00
Ivan Smolin 9dec8a651e code review note 2018-03-26 18:05:11 +03:00
Ivan Smolin e3e424bdf7 naming 2018-03-26 16:13:35 +03:00
Ivan Smolin 7a905bb9b6 fix array safe subscript 2018-03-26 16:13:35 +03:00
Ivan Smolin 751e0a51d8 number formatting service 2018-03-26 16:13:35 +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 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
Aliona 451bbccc74 Fix spacing 2018-01-15 18:01:36 +03:00
Aliona ea1cf7b864 Changes for pull 2018-01-15 17:59:45 +03:00
Aliona fa5aba357e Add constraints 2018-01-15 16:38:41 +03:00
Aliona 287f44ffc2 Edit issues for pull request 2018-01-15 14:12:01 +03:00
Aliona 0a95f4ae31 Add public 2018-01-12 18:33:51 +03:00
Aliona d8e1417e88 Add table header bg 2018-01-11 19:55:01 +03:00
Ivan Smolin 3e75237ec3 align 2017-12-05 16:15:25 +03:00
Ivan Smolin 310bec29d1 Ability to map primitive response types (`String`, `Int`, `[String]`, etc.). 2017-12-05 16:04:30 +03:00
Ivan Smolin dff3edfc8f forgot to pass function param 2017-12-01 16:38:51 +03:00
Ivan Smolin 7a12073d59 Revert "fix crash when NetworkService creates lazy in background thread (globalinit_*_func0)"
This reverts commit 7c92ef47e0.
2017-12-01 15:53:44 +03:00
Ivan Smolin 7c92ef47e0 fix crash when NetworkService creates lazy in background thread (globalinit_*_func0) 2017-12-01 15:11:38 +03:00
Ivan Smolin 3969199df7 pass acceptable status codes 2017-12-01 14:47:43 +03:00
Alexey Gerasimov b4d4ab5bec AlamofireManager extension fixed 2017-11-09 12:11:23 +03:00
Ivan Smolin 506608b9a4 code review notes 2017-10-30 15:35:46 +03:00
Ivan Smolin b26932fbfe add invalid response error case 2017-10-27 19:00:41 +03:00
Ivan Smolin a4c4cd00ae group request errors by type 2017-10-27 11:32:02 +03:00
Ivan Smolin 17c15bc2aa move safe index subscript to extension without generic constraints 2017-10-19 18:21:47 +03:00
Ivan Smolin 74e8aa959f bring back UIAlertController Extensions 2017-10-19 18:10:01 +03:00
Ivan Smolin 71721c5bb1 bring back array extensions 2017-10-19 18:07:05 +03:00