Madhas
35270f2b32
LeadKitError case added
2018-05-24 12:27:42 +03:00
Ivan Smolin
2a98ba3d47
one more fix
2018-05-22 18:56:38 +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
Igor Kislyuk
f71c882738
Merge branch 'master' into feature/newflow
...
# Conflicts:
# CHANGELOG.md
2018-05-22 16:19:31 +03:00
Pavel Lukandiy
a9536d3cff
Targets fix
2018-05-22 14:54:18 +03:00
Ivan Smolin
3e73ff7658
remove NetworkOperationModel and NetworkOperationState
2018-05-22 14:26:30 +03:00
Igor Kislyuk
e3e060eda4
Update for new flow
2018-05-22 14:18:32 +03:00
Pavel Lukandiy
360bcde3f9
Review notes
2018-05-22 14:03:40 +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
Madhas
a28805846b
toJSON method on encodable
2018-05-20 18:53:31 +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
91b49d8f94
observable mappable protocol updated
2018-05-16 15:52:01 +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
83e1eae7d0
fix timeout
2018-04-11 19:13:57 +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
b320615154
remove copy-paste
2018-04-11 16:24:17 +03:00
Ivan Smolin
e51a585ed9
apiRequestParameters method to NetworkServiceConfiguration extension
2018-04-11 15:24:22 +03:00
Ivan Smolin
46d0fd57da
code review comment
2018-04-11 13:40:10 +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
66567bb811
Fixed: pullRequest comments
2018-04-06 01:11:07 +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
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