Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 947e2a63c2 | |||
| c5462de1db | |||
| 00b5d614b6 |
@@ -32,7 +32,10 @@ jobs:
|
||||
branch: 'main'
|
||||
commit_message: 'Bump version ${{ steps.publish_release.outputs.tag_name }}'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Install Cocoapods
|
||||
run: gem install cocoapods
|
||||
|
||||
- name: Deploy to Cocoapods
|
||||
env:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "SkeletonView"
|
||||
s.version = "1.26.1"
|
||||
s.version = "1.26.2"
|
||||
s.summary = "An elegant way to show users that something is happening and also prepare them to which contents he is waiting"
|
||||
s.description = <<-DESC
|
||||
Today almost all apps have async processes, as API requests, long runing processes, etc. And while the processes are working, usually developers place a loading view to show users that something is going on.
|
||||
|
||||
@@ -37,5 +37,7 @@ public class SkeletonViewAppearance {
|
||||
|
||||
public var renderSingleLineAsView: Bool = false
|
||||
|
||||
public var skeletonCornerRadius: Float = 0
|
||||
|
||||
}
|
||||
// codebeat:enable[TOO_MANY_IVARS]
|
||||
|
||||
@@ -88,7 +88,7 @@ extension UIView {
|
||||
}
|
||||
|
||||
var _skeletonableCornerRadius: Float {
|
||||
get { return ao_get(pkey: &ViewAssociatedKeys.skeletonCornerRadius) as? Float ?? 0.0 }
|
||||
get { return ao_get(pkey: &ViewAssociatedKeys.skeletonCornerRadius) as? Float ?? SkeletonViewAppearance.shared.skeletonCornerRadius }
|
||||
set { ao_set(newValue, pkey: &ViewAssociatedKeys.skeletonCornerRadius) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user