Commit Graph

161 Commits

Author SHA1 Message Date
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