Josh Brunner
7ce5e0623a
Fixed a deprecation warning where the AssociatedObjects protocol was inheriting from class instead of AnyObject per Xcode's suggestion ( #376 )
2021-02-08 23:06:32 +01:00
Juanpe Catalán
0a91aebf2a
fix: recover isUserInteractionEnabled value when the skeleton disappears ( #375 )
2021-02-08 09:41:33 +01:00
Keshavamurthy GN
c6dfcf9c1a
Fixed: UITextField placeholder text is visible while skeleton is showing ( #356 )
...
* Fixed: UITextField placeholder text is visible while skeleton is showing #345
Setting placeholder to nil on prepareViewForSkeleton() method
Created RecoverableTextFieldState, which has textColor and placeholder properties, Added UITextField extension in Recoverable.swift, setting the values on recoverViewStage 'forced' is true
* Update PrepareForSkeletonProtocol.swift
2021-02-03 14:18:30 +01:00
Juanpe Catalán
6dcfb325dc
remove SwiftLint's warnings ( #372 )
2021-02-03 09:21:14 +01:00
Juanpe Catalán
2e1808ea50
fix: remove temp height constraints after hiding the skeleton ( #371 )
2021-02-03 09:03:40 +01:00
Juanpe Catalán
18c5c1deb8
feat: remove useless corner radius constraint ( #369 )
...
* remove useless corner radius constraint
* update CHANGELOG
2021-02-01 12:13:48 +01:00
Juanpe Catalán
c7133a6711
Merge pull request #357 from keshavamurthy1/fix/refactored_removed_unused_code
...
Removed duplicate code in SkeletonCollectionDelegate
2021-01-22 14:26:54 +01:00
Keshavamurthy GN
073baa6483
Update UIView+Frame.swift
2021-01-22 17:45:36 +05:30
Keshavamurthy GN
a26dbf7c89
Reverted the iOS 10 check as per the review comment
2021-01-22 17:28:32 +05:30
Keshavamurthy GN
4009ed2b1e
Fixed: SkeletonView respecting Font's height, rather than the UIView actual height #353
...
Using Label height from the HeightConstraint if there is any instead of the Label Font line height
if no HeightConstraint set, will be using SkeletonAppearance.default.multilineHeight as it was before
2021-01-21 12:52:17 +05:30
Keshavamurthy GN
a246c16cfe
Removed duplicate code in SkeletonCollectionDelegate
...
Removed check for older versions in UIView+Frame
Removed return on single lines (Implicit Returns)
2021-01-18 18:41:23 +05:30
Juanpe Catalán
9ed337ba53
Merge branch 'develop' of https://github.com/Juanpe/SkeletonView into feature/resize_labels_based_on_number_of_lines
2020-10-29 14:12:09 +01:00
Yang Zhao
f7cb021a93
Fixed incorrect padding, and incorrect multiline layer frame calculation.
2020-10-25 18:32:31 -06:00
Juanpe Catalán
4fbfbeca55
feat: update layout to desired height
2020-10-22 00:48:23 +02:00
Juanpe Catalán
c92461ae5c
fix: shows at least one line
2020-10-21 14:35:48 +02:00
Juanpe Catalán
a349f7174c
feat: support autoreverses animations for gradients
2020-10-19 11:41:57 +02:00
Mohanned Binmiskeen
0dbdb9064d
Add hiddenWhenSkeletonIsActive property which will hide the view when the skeleton animation starts
2020-10-06 16:03:55 +02:00
Juanpe Catalán
ae1b5ee790
fix: add condition for tvOS 10.0
2020-10-02 17:08:25 +02:00
Juanpe Catalán
8d090904b4
feat: support RTL
2020-10-02 16:47:00 +02:00
Juanpe Catalán
83b99f16b1
fix: modified how the skeleton save and restore the original view state of the elements
2020-10-02 13:23:26 +02:00
Juanpe Catalán
3dcfebda82
refactor: swiftlint changes
2020-09-11 01:10:04 +02:00
Juanpe Catalán
1bd4d3d960
feat: save and restore button view state
2020-09-09 16:49:40 +02:00
Xavier Pereta
770be4fc06
fix: Consider the bottom and top edge insets when updating the height of the skeleton layer.
2020-09-03 23:00:42 +02:00
Juanpe Catalán
b443dcc17c
use multiline height when text is a single line
2020-09-01 20:18:24 +02:00
William Salim
d94517939a
Merge branch 'develop' into 1.8.7-custom
2020-08-06 18:19:55 +07:00
William Salim
e4cde53d73
Prevent incorrect skeletonLayer to be added when updating skeleton
2020-07-20 19:08:23 +07:00
Paul-Anatole CLAUDOT
1f81365096
[BugFix] Fix issue when WKWebView calls skeletonLayoutSubviews not on the main thread
2020-04-17 13:03:15 +02:00
Juanpe Catalán
8ab04f8108
Merge pull request #271 from paulanatoleclaudot-betclic/feature/CornerRadiusView
...
Add corner radius for skeletonView as IBInspectable (CGFloat) default is 0.0
2020-03-19 16:57:31 +01:00
koooootake
30fd5aa762
Merge branch 'develop' into fix_stack_view_alignment_center
2020-03-14 00:19:51 +09:00
voltmor
601dc7a4e0
Merge branch 'develop' of https://github.com/Juanpe/SkeletonView into develop
2020-03-13 13:56:08 +03:00
voltmor
906c1845d3
Fix hiding skeleton when some of views will not hide
2020-03-11 16:59:22 +03:00
William Salim
8a2a512bbb
Prevent isSkeletonActive to be called when isSkeletonable is false
2020-03-11 18:32:23 +07:00
koooootake
e6eb35e139
delete case .center
2020-03-09 23:56:56 +09:00
Paul-Anatole CLAUDOT
9c66a4b74c
Add corner radius for skeletonView as IBInspectable (CGFloat) default is 0.0
2020-03-03 13:47:08 +01:00
Juanpe Catalán
51ceb81f29
call original traitCollectionDidChange method
2020-02-21 10:07:56 +01:00
Juanpe Catalán
64cf3b07a2
not replace original datasource is running XCTests
2020-02-20 21:40:52 +01:00
Juanpe Catalán
e54d458433
Merge branch 'develop' into feature/set-cross-dissolve-transitions-as-default
2020-02-20 13:13:47 +01:00
Juanpe Catalán
06085089fb
set the cross dissolve transition as default
2020-02-20 13:13:19 +01:00
voltmor
42095e776b
Fix remove skeleton layers from table header footer sections
2020-02-19 13:23:16 +03:00
Juanpe Catalán
dfb538e233
Merge pull request #242 from Cacodemon/master
...
Offscreen table view layout issue fixed
2020-02-17 09:58:49 +01:00
Juanpe Catalán
809dc4a9ba
Merge branch 'master' into fix/tableview_row_height_when_remove_skeleton
2020-02-12 02:24:32 +01:00
Juanpe Catalán
b938eddb87
fix: remove duplicate import UIKit
2020-02-12 01:48:59 +01:00
Juanpe Catalán
01fe85b95c
Merge pull request #227 from diogot/notifications
...
Post show/update/hide notifications
2020-02-12 01:39:11 +01:00
Juanpe Catalán
65299378c4
fix: problem with text views that only have one line
2020-02-12 01:13:21 +01:00
Juanpe Catalán
d2d8c1f5db
Merge branch 'develop' into Customise-Single-Line
2020-02-12 00:11:28 +01:00
Juanpe Catalán
ab385e5afb
Merge pull request #234 from AnatoliBenke-Helsana/master
...
Update SkeletonView.swift
2020-02-12 00:05:32 +01:00
Juanpe Catalán
9914be0f5b
Merge pull request #240 from damien-danglard/master
...
[fix] Use UIFont.lineHeight for calculate the number of CALayer used in …
2020-02-11 10:33:28 +01:00
Diogo Tridapalli
ec7a9973c5
Post show/update/hide notifications
...
Signed-off-by: Diogo Tridapalli <diogot@users.noreply.github.com >
2020-02-03 13:44:59 -03:00
Dmitry Rykun
06a9fb769e
original delegate call added
2020-02-02 23:13:57 +02:00
Dmitry Rykun
d2797238f2
offscreen table view layout fixed
2020-02-02 22:57:06 +02:00