-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to add rounded corners to skeleton views #13
Comments
This featured will be awesome! |
Hi @raphaklr and @manuel21, actually the round corners are allowed. If you view has corner the skeleton will draw with corner too. For example, with this code: @IBOutlet weak var avatarImage: UIImageView! {
didSet {
avatarImage.layer.cornerRadius = avatarImage.frame.width/2
avatarImage.layer.masksToBounds = true
}
} |
@Juanpe thanks for the answer. But is it possible to have rounded corners in the skeleton view, while the actual views have sharp edges? I'm looking for something like this: |
Mm...not, today it's not possible. I'm going to add this feature in the backlog, ok? |
Closed this issue, corner radius are available since version 1.2.1 |
Hi,
in the README, all screenshots show skeleton views with sharp corners. Is it possible to provide a corder radius so that the grey views have rounded corners?
The text was updated successfully, but these errors were encountered: