Juanpe / SkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
MIT License
12.59k stars 1.11k forks source link

`skeletonPaddingInsets` is now `internal` in both `UILabel` and `UITextView` #445

Closed p4checo closed 3 years ago

p4checo commented 3 years ago

Description

skeletonPaddingInsets is now internal in both UILabel and UITextView as of version 1.24.3, following the latest "Codebase refactor", where it previously was public API.

Was this intentional or is it a case of missing public annotations? 😄 If intentional then I think this qualifies as a breaking change.

Thanks!

What type of issue is this? (place an x in one of the [ ])

Requirements (place an x in each of the [ ])


Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

SkeletonView Environment:

SkeletonView version: 1.24.3 Xcode version: 12.5.1 Swift version: 5.4

Steps to reproduce:

Please replace this with the steps to reproduce the behavior.

  1. Use SkeletonView 1.24.3
  2. Try to use skeletonPaddingInsets API on UILabel or UITextView
  3. Cry when Xcode throws an error at you

Expected result:

skeletonPaddingInsets is publicly available like it was.

Actual result:

skeletonPaddingInsets is not publicly available anymore.

Juanpe commented 3 years ago

Hi @p4checo!

😳 you're totally right. I refactored the codebase and I missed including it as part of the API 😅

I'm going to include it :) Thanks for reporting this bug 👍🏼

Juanpe commented 3 years ago

The issue was solved in version 1.24.4 👍🏼

p4checo commented 3 years ago

Thanks for a super fast fix and release! Awesome! 🙇🏼