diff --git a/SkeletonViewCore/Sources/Internal/Collections/CollectionSkeleton.swift b/SkeletonViewCore/Sources/Internal/Collections/CollectionSkeleton.swift index 578ad596..70c93611 100644 --- a/SkeletonViewCore/Sources/Internal/Collections/CollectionSkeleton.swift +++ b/SkeletonViewCore/Sources/Internal/Collections/CollectionSkeleton.swift @@ -9,8 +9,8 @@ import UIKit enum CollectionAssociatedKeys { - static var dummyDataSource = "dummyDataSource" - static var dummyDelegate = "dummyDelegate" + static var dummyDataSource: StaticString = "dummyDataSource" + static var dummyDelegate: StaticString = "dummyDelegate" } protocol CollectionSkeleton { diff --git a/SkeletonViewCore/Sources/Internal/SkeletonExtensions/SkeletonTextNode.swift b/SkeletonViewCore/Sources/Internal/SkeletonExtensions/SkeletonTextNode.swift index 84233486..db74e3b8 100644 --- a/SkeletonViewCore/Sources/Internal/SkeletonExtensions/SkeletonTextNode.swift +++ b/SkeletonViewCore/Sources/Internal/SkeletonExtensions/SkeletonTextNode.swift @@ -29,13 +29,13 @@ protocol SkeletonTextNode { enum SkeletonTextNodeAssociatedKeys { - static var lastLineFillingPercent = "lastLineFillingPercent" - static var multilineCornerRadius = "multilineCornerRadius" - static var multilineSpacing = "multilineSpacing" - static var paddingInsets = "paddingInsets" - static var backupHeightConstraints = "backupHeightConstraints" - static var textLineHeight = "textLineHeight" - static var skeletonNumberOfLines = "skeletonNumberOfLines" + static var lastLineFillingPercent: StaticString = "lastLineFillingPercent" + static var multilineCornerRadius: StaticString = "multilineCornerRadius" + static var multilineSpacing: StaticString = "multilineSpacing" + static var paddingInsets: StaticString = "paddingInsets" + static var backupHeightConstraints: StaticString = "backupHeightConstraints" + static var textLineHeight: StaticString = "textLineHeight" + static var skeletonNumberOfLines: StaticString = "skeletonNumberOfLines" } diff --git a/SkeletonViewCore/Sources/Internal/UIKitExtensions/UIView+AssociatedObjects.swift b/SkeletonViewCore/Sources/Internal/UIKitExtensions/UIView+AssociatedObjects.swift index 25dd87fb..91e0308c 100644 --- a/SkeletonViewCore/Sources/Internal/UIKitExtensions/UIView+AssociatedObjects.swift +++ b/SkeletonViewCore/Sources/Internal/UIKitExtensions/UIView+AssociatedObjects.swift @@ -16,21 +16,21 @@ import UIKit // codebeat:disable[TOO_MANY_IVARS] enum ViewAssociatedKeys { - static var skeletonable = "skeletonable" - static var hiddenWhenSkeletonIsActive = "hiddenWhenSkeletonIsActive" - static var status = "status" - static var skeletonLayer = "layer" - static var flowDelegate = "flowDelegate" - static var isSkeletonAnimated = "isSkeletonAnimated" - static var viewState = "viewState" - static var labelViewState = "labelViewState" - static var imageViewState = "imageViewState" - static var buttonViewState = "buttonViewState" - static var headerFooterViewState = "headerFooterViewState" - static var currentSkeletonConfig = "currentSkeletonConfig" - static var skeletonCornerRadius = "skeletonCornerRadius" - static var disabledWhenSkeletonIsActive = "disabledWhenSkeletonIsActive" - static var delayedShowSkeletonWorkItem = "delayedShowSkeletonWorkItem" + static var skeletonable: StaticString = "skeletonable" + static var hiddenWhenSkeletonIsActive: StaticString = "hiddenWhenSkeletonIsActive" + static var status: StaticString = "status" + static var skeletonLayer: StaticString = "layer" + static var flowDelegate: StaticString = "flowDelegate" + static var isSkeletonAnimated: StaticString = "isSkeletonAnimated" + static var viewState: StaticString = "viewState" + static var labelViewState: StaticString = "labelViewState" + static var imageViewState: StaticString = "imageViewState" + static var buttonViewState: StaticString = "buttonViewState" + static var headerFooterViewState: StaticString = "headerFooterViewState" + static var currentSkeletonConfig: StaticString = "currentSkeletonConfig" + static var skeletonCornerRadius: StaticString = "skeletonCornerRadius" + static var disabledWhenSkeletonIsActive: StaticString = "disabledWhenSkeletonIsActive" + static var delayedShowSkeletonWorkItem: StaticString = "delayedShowSkeletonWorkItem" } // codebeat:enable[TOO_MANY_IVARS]