Sofia Silva
ae44d9f07a
Align last line of skeleton view according to text alignment ( #431 )
...
* feature: align last line of skeleton view according to text alignment
* code review changes
2021-08-17 19:03:13 +02:00
Juanpe Catalán
220fc4016d
Fixed background color warning in UITableViewHeaderFooterView ( #417 )
2021-06-28 17:45:59 +02:00
Juanpe Catalán
12e5688b31
Delay the presentation of the skeletons ( #411 )
2021-06-22 12:54:33 +02:00
Juanpe Catalán
c8fdd6998d
fix bug remove constraints wrongly ( #406 )
...
* check if the constraints were modified and then restore the original
* identify constraints added by SkeletonView
* move removal of skeleton constraint to recoverable protocol implementation
2021-06-11 11:33:23 +02:00
Juanpe Catalán
f1e61aa9c0
fix typo isUserInteractionDisabledWhenSkeletonIsActive ( #404 )
...
* fix typo
* update README
2021-06-10 19:34:18 +02:00
Juanpe Catalán
c2a029ed51
create disableWhenSkeletonIsActive property
2021-06-10 19:14:05 +02:00
Corey Davis
36668f450b
[BUG] Fix crashing on NaN value ( #382 )
2021-04-12 18:25:43 +02:00
Juanpe Catalán
4143a6065c
feat: add workaround to simulate the content of labels contained in a stack view ( #380 )
2021-03-29 18:00:34 +02:00
Juanpe Catalán
0a91aebf2a
fix: recover isUserInteractionEnabled value when the skeleton disappears ( #375 )
2021-02-08 09:41:33 +01:00
Juanpe Catalán
6dcfb325dc
remove SwiftLint's warnings ( #372 )
2021-02-03 09:21:14 +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
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
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
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
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
64cf3b07a2
not replace original datasource is running XCTests
2020-02-20 21:40:52 +01:00
voltmor
42095e776b
Fix remove skeleton layers from table header footer sections
2020-02-19 13:23:16 +03: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
Damien Danglard
a7ae5f0f9f
[fix] resolve issues from codebeat
2020-01-27 17:11:23 +01:00
Damien Danglard
85cce0cd7c
[fix] Use font lineHeight for calculate the number of CALayer used in multiline Skeleton UILabel
...
close #239
2020-01-24 15:35:29 +01:00
Nikita Nikitsky
37ac7d6e5d
Fix attributes for tvOS
2019-11-05 14:37:55 +04:00
Wilson Gramer
809544066f
Make skeleton colors dynamic
...
If on iOS 13 or higher, returns a UIColor using the
`init(dynamicProvider:)` initializer so it automatically adjusts to
dark mode. Also switches out the `clouds` default color with the
dynamic `skeletonDefault` color.
2019-10-13 20:45:53 -04:00
Esme Putt
4be93db383
Added spacing
2019-10-04 11:52:38 +13:00
Esme Putt
ae4ecfa760
Added comments
2019-10-04 11:28:17 +13:00
Esme Putt
f60e5cd7ae
Add-custom-options-for-single-line
2019-10-04 11:06:30 +13:00
gshahbazian
84d8971aa2
Add ability to customize line spacing per label
...
Also customizability of edge insets for skeleton rows
2019-09-13 09:59:17 -07:00
Juanpe Catalán
04678fc772
feat: change some signature of methods
2019-09-13 10:50:06 +02:00
Ahmed Osama
8212fc1a0b
Fixed animation stopping issue after switching tabs
2019-09-08 05:48:30 +02:00
Juanpe Catalán
a0a2ae760b
fix: problem calling layout subviews
2019-08-27 20:04:42 +02:00
Juanpe Catalán
5436e44f15
fix: property name
2019-08-26 22:37:11 +02:00
Juanpe Catalán
2f2e542d51
fix: bug #149 animation stopped when modal is presented
2019-08-26 22:34:56 +02:00
Juanpe Catalán
09a30d36b8
feat: remove whitespaces
2019-08-22 09:34:56 +02:00
Pontus Jacobsson
e05d013af8
Cleaned up some code and aded extra viewState keys
2019-07-31 09:50:13 +02:00
Juanpe Catalán
18048c9bcd
feat: Create SkeletonConfig to save the config of skeleton active
2019-06-18 23:21:53 +02:00
Eduard Bosch Bertran
f637c20ea9
fix: Update multiline skeleton layers on skeleton layer update
2019-06-18 23:21:53 +02:00
Juanpe Catalán
09e1fe31e0
feat: Migrate to Swift 5
2019-04-23 20:38:03 +02:00