Commit Graph

235 Commits

Author SHA1 Message Date
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 0c37bea3cf update dependencies, add cartfile 2019-01-29 15:52:33 +03:00
Iurii 6b04a0fb32 Rename the vars 2019-01-27 07:35:57 +03:00
Iurii 9517e1151e Add a method 2019-01-27 07:27:10 +03:00
Artur Azarau 727162f58d documentation for large title display mode was fixed 2019-01-10 21:54:31 +03:00
Artur Azarau 26efa9a4d8 issues resolved 2019-01-10 14:54:20 +03:00
Artur Azarau e3ddab4f19 issues resolved 2019-01-10 14:16:45 +03:00
Artur Azarau 35131cc336 file renamed 2019-01-10 10:04:58 +03:00
Artur Azarau 707d4bc6f4 Several things were added:
- TitleType enum
- Large title display mode variable
- Function for updating title in view controllers
2019-01-10 10:01:22 +03:00
Ivan Babkin e1f79f3304 Using guard instead of if 2018-12-19 13:14:28 +03:00
Ivan Babkin 598ae1adad Throwing error when using invalid parameters 2018-12-19 12:58:05 +03:00
Ivan Babkin e01861af80 Documentation fix 2018-12-18 17:21:26 +03:00
Ivan Babkin bd47336cfb Refactoring 2018-12-18 16:10:46 +03:00
Ivan Babkin a27ec284ac Added ability to pass an array parameter in request 2018-12-17 18:00:45 +03:00
Sergey Kopytov c76b2e1745 update podspecs 2018-12-17 15:29:30 +03:00
Sergey Kopytov 445600534d add functions to sections 2018-12-17 15:16:30 +03:00
Ivan Babkin 65c3fba12a Refactoring 2018-10-26 16:59:51 +03:00
Ivan Babkin 7fe405539e Refactoring 2018-10-26 16:48:37 +03:00
Anton Popkov acf7876f71 Network error handling fix vol. 3 2018-10-26 16:10:21 +03:00
Anton Popkov 615ca1d4b4 Network error handling fix vol. 2 2018-10-26 16:03:34 +03:00
Anton Popkov 652c55a936 Network error handling fix 2018-10-26 15:20:47 +03:00
Ivan Babkin ad8fe894bf Added response to RequestError 2018-10-26 14:07:36 +03:00
Ivan Babkin 2bccc006d7 Time out as network error 2018-10-19 17:37:45 +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 ecbf71aec0 remove unused typealias 2018-09-14 20:31:24 +03:00
Ivan Smolin b796702b4e simplify 2018-09-14 19:45:01 +03:00
Ivan Smolin 2e70e8248d Add: UserDefaults+Codable is back. Now with generic subscript support. 2018-09-14 19:40:51 +03:00
Ivan Smolin 857c747bfa Change: NumberFormattingService.computedFormatters computed var reverted to static. 2018-09-14 17:44:01 +03:00
Ivan Smolin b27bd9d0e2 code review notes 2018-09-14 12:22:07 +03:00
Ivan Smolin 30bec8e9c7 Add: NSNumberConvertible protocol for NumberFormattingService use cases.
Add: TableDirector methods for rows insertion and removal without reload a whole table.
Add: UIImageView binder for disclosure indicator rotation.
Add: UIView.addSubviews(:) methods with variable number of arguments and array of views.
Add: PlaceholderConfigurable that defines attributes and methods for view with placeholder and regular state.
Add: ContentLoadingViewModel enum that describes possible PlaceholderConfigurable view states.
2018-09-13 20:07:04 +03:00
Ivan Smolin 079a723ef1 forgotten public 2018-08-07 16:32: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 1d1ef692b9 fix default arguments 2018-07-31 13:15:10 +03:00
Ivan Smolin d1fab2c69c swift date 5.0 migration part 2 2018-07-31 12:59:55 +03:00
Ivan Smolin d8a258f05d add comment 2018-07-30 17:48:15 +03:00
Ivan Smolin 667c15aa33 code review notes 2018-07-30 14:43:59 +03:00
Ivan Smolin a20aa5affa update dependencies & migrate to SwiftDate 5.0 2018-07-23 12:53:04 +03:00
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