Commit Graph

296 Commits

Author SHA1 Message Date
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 ba596d826b rename and public 2018-03-28 19:26:44 +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 384180443b fix network service background thread crash 2018-03-27 11:43:15 +03:00
Ivan Smolin c7e5687f0b UIApplication+openUrl and telprompt 2018-03-27 11:42:55 +03:00
Ivan Smolin 01e93cc4e3 Move VoidBlock from LeadKitAdditions. closes https://github.com/TouchInstinct/LeadKit/issues/104 2018-03-27 11:12:50 +03:00
Ivan Smolin 463279d286 text field view model with bindings 2018-03-26 23:37:10 +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 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
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 c8403eb639 add acceptable status codes to network service constructor 2017-12-01 15:28: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
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
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 29e5150337 add comments 2017-10-27 21:32:31 +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
Igor Kislyuk 3be37b403f Rename 2017-10-19 01:55:58 +03:00
Igor Kislyuk 15975756f9 Return files for compiling. Drop className 2017-10-19 01:53:56 +03:00
Igor Kislyuk 378db7c577 Drop protocols & few extensions 2017-10-19 01:43:03 +03:00
Igor Kislyuk 9c3610ebfa Drop UIControlleExtensions 2017-10-19 01:30:57 +03:00
Igor Kislyuk 3c747015e9 Drop observable extension 2017-10-19 01:28:59 +03:00
Igor Kislyuk 683fdb1593 Drop loading images extension 2017-10-19 01:26:56 +03:00
Igor Kislyuk ac7820bdd2 Remove array extensions 2017-10-19 01:24:49 +03:00
Igor Kislyuk 556078e7d0 Rename Resize mode 2017-10-19 01:22:45 +03:00
Igor Kislyuk 0352976901 Revert string extensions 2017-10-18 21:20:01 +03:00
Ivan Smolin c22433459e fix deprecations and remove obsolete extensions and protocols 2017-10-18 20:48:40 +03:00
Ivan Smolin 4772993e9b fix dependencies 2017-10-18 19:34:32 +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
Igor Kislyuk c23a9beb45 Fix background color 2017-10-14 21:43:02 +03:00
Igor Kislyuk 85919e2a0a Fix alingment 2017-10-14 18:15:22 +03:00
Anton Popkov e65f85a538 Add subscript to array extension for safe access to element by index
Changelog update
2017-10-14 16:56:58 +03:00
Anton Popkov 148a964fb0 Rename AppearanceProtocol to AppearanceConfigurable
Other minor fixes
2017-10-14 16:48:15 +03:00
Anton Popkov ee2fb6d796 One more minor change 2017-10-13 16:49:01 +03:00
Anton Popkov 5e9a20d81a Minor change 2017-10-13 16:48:09 +03:00
Anton Popkov cc26bdbd68 Code review inspections fix vol. 4 2017-10-13 16:47:28 +03:00
Anton Popkov 9ab7dc8f52 Code review inspections fix vol. 3 2017-10-13 16:17:39 +03:00
Anton Popkov 6c29696367 Code review inspections fix vol. 2 2017-10-13 16:08:22 +03:00
Anton Popkov 06a208bb76 Code review inspections fix 2017-10-13 16:02:05 +03:00
Anton Popkov 5c85bf2e5d EmptyCell default appearance fix 2017-10-13 15:01:20 +03:00
Anton Popkov f7868ad827 Move EmptyCellAppearance to EmptyCell 2017-10-13 13:56:36 +03:00
Anton Popkov 1ba179028e Rename AppearanceProtocol update(appearance:) method to configure(appearance:) 2017-10-13 13:51:51 +03:00
Anton Popkov fa2838bb9c Add set(appearance:) method to TableRow 2017-10-12 23:18:51 +03:00
Anton Popkov 26ebaa48e9 Separator cell refactoring 2017-10-12 23:12:09 +03:00
Anton Popkov 68733e0d68 Add appearance protocol 2017-10-12 22:11:27 +03:00
Anton Popkov 4e92792153 Remove excess public modifiers from extensions 2017-10-12 21:04:00 +03:00
Anton Popkov 7c089f0d85 Merge commit 'e9fbae40b3042e7e8751ef45dcd6e4b0354fee18' into feature/separatorCellsRefactoring
# Conflicts:
#	CHANGELOG.md
2017-10-12 17:14:55 +03:00
Anton Popkov 0851ba9b2d Minor changes 2017-10-12 16:35:33 +03:00
Anton Popkov f2f6e628f9 Move configure separator method from TableDirector extension to Array extension 2017-10-12 16:12:57 +03:00
Anton Popkov 84e4155929 Move separatorRowBox property from EmptyCellRow to TableRow extension 2017-10-12 16:11:55 +03:00
Anton Popkov 5102f4adf1 Remove type erasure from AnyBaseTableRow
Rename AnyBaseTableRow to SeparatorRowBox
2017-10-12 15:14:43 +03:00
Igor Kislyuk d6b0272300 Update type 2017-10-11 13:07:29 +03:00
Igor dca12659d1 Few clarifications 2017-10-10 23:59:13 +03:00
Igor 827d8a3ca2 Update for review 2017-10-10 23:56:39 +03:00
Igor a5a6148bf1 Update seleciton style 2017-10-10 17:25:06 +03:00
Igor 5b2b892a59 Rename initializer 2017-10-10 14:02:30 +03:00
Igor 54ba8531b7 Update for code-review 2017-10-10 13:53:24 +03:00
Igor 24ae2c5160 Add extension + update podspec 2017-10-10 13:47:43 +03:00
Igor 1b16b2435a Update for code-review 2017-10-10 13:29:37 +03:00
Igor 47f942e3a5 Fix code style & documentation 2017-10-10 10:25:21 +03:00
Igor e97a357e02 Update empty cell 2017-10-10 09:50:25 +03:00
Igor b7d639a3c8 Fix bug with wrong layout events 2017-10-09 20:30:48 +03:00
Igor ab6af95df3 Fix init 2017-10-09 19:36:04 +03:00
Igor 08dbf13d7b Fix target dependencies 2017-10-09 18:05:52 +03:00
Igor 0ef07e8bc6 Fix building for cells 2017-10-09 17:29:48 +03:00
Igor 323675115c Merge branch 'master' into feature/base-cell 2017-10-09 14:19:55 +03:00
Igor a7f324dd79 Add comparable 2017-10-08 20:09:36 +03:00
Igor ac82606f28 Fix init 2017-10-08 18:49:37 +03:00
Igor 79ebf34529 Fix modifiers 2017-10-08 18:26:56 +03:00
Igor 6d16303908 Add SeparatorConfiguration 2017-10-08 17:27:05 +03:00
Igor 979a30febf Add base cell 2017-10-08 17:17:45 +03:00
Alexey Gerasimov 7735fd31d4 One two many fix 2017-09-28 18:06:45 +03:00
Igor 1559798116 Fix synchronization 2017-09-25 20:43:05 +03:00
Alexey Gerasimov ed31986477 Swift 4 support 2017-09-25 20:15:51 +03:00
Igor 397829f07b Add LocalizedComponent + tests 2017-09-17 17:43:55 +03:00
Ivan Zinovyev ef22ddb084 Remove placeholders comparison. This was cause why placeholders is not shown sometimes 2017-09-13 17:27:18 +03:00
Ivan Zinovyev 52165cc2ce Clear tableview if placeholder is shown 2017-09-13 16:43:33 +03:00
Ivan Zinovyev a69d541fa2 Fix pagination wrapper 2017-09-08 16:54:04 +03:00
Ivan Smolin 1d154293dd Revert "Fix/pagination wrapper" 2017-09-08 12:59:27 +03:00
Ivan Zinovyev b7d6925b98 PaginationTableViewWrapper: Add placeholder view for initial loading state 2017-09-07 23:14:09 +03:00
Ivan Zinovyev 782eb8037b PaginationTableViewWrapper: Fix empty state, Add retry method, Remove infinite scroll for single cursor, Fix visual bug related to placeholder after reload 2017-09-07 22:59:19 +03:00
Pavel Lukandiy 161a669f83 Fix 2017-09-05 13:26:21 +03:00
Pavel Lukandiy 0baf215dd9 Fix 2017-09-05 13:22:26 +03:00
Pavel Lukandiy 76e5b701b9 Codestyle 2017-09-05 12:58:45 +03:00
Pavel Lukandiy bba7d7f845 Codestyle 2017-09-05 11:24:20 +03:00
Pavel Lukandiy e845758204 DiferredJust for Single 2017-09-04 22:20:25 +03:00
Igor Kislyuk 1e34ad17ce Fix. Xibname reflection 2017-08-07 15:42:49 +03:00
Igor Kislyuk bc3d4f7901 Add. Configuration for XibView 2017-07-31 13:53:20 +03:00
Igor Kislyuk 398630764c Remove. Tailor 2017-07-28 04:53:48 +03:00
Igor Kislyuk 1ae3a8398c Fix. Public 2017-07-26 18:25:53 +03:00
Ivan Smolin 2dd801b055 remove whitespace 2017-06-09 13:26:13 +03:00
Ivan Smolin 629830e64e add mapping transform extension 2017-06-09 13:11:44 +03:00
Ivan Smolin d76825deb5 Date formatting service 2017-06-09 13:11:44 +03:00
Ivan Smolin e384df2ebe there is no more errors in DEBUG mode 2017-06-08 18:15:37 +03:00
Ivan Smolin c1885b1e75 change project structure and integrate code quality 2017-06-08 17:55:01 +03:00