UIView
extension UIView
extension UIView: FUIColorSchemeCustomizable
extension UIView: SkeletonViewExtended
-
Show the skeleton with/without animation by
UIAccessibility.isReduceMotionEnabled
.Declaration
Swift
public func showSkeleton(color: UIColor = .preferredFioriColor(forStyle: .quaternaryFill))
Parameters
color
The color of the skeleton. Default value is
quaternaryFill
. -
Hide the skeleton.
Declaration
Swift
public func hideSkeleton(transition: SkeletonTransitionStyle = .none)
Parameters
transition
The style of the transition when the skeleton disappears. Defaults value is
none
. -
The style class property. Setting this value applys the style.
Declaration
Swift
@objc public var nuiClass: String? { get set }
-
The style class path property with type of a
FioriStyle
array. Setting this property converts the value to aString
with “:” as separator, and the convertedString
value would be set to ‘nuiClass’ for applying the styles.Declaration
Swift
public var styleClassPath: [FioriStyle]? { get set }
-
Undocumented
Declaration
Swift
@IBInspectable var isSkeletonable: Bool { get set }
-
Undocumented
Declaration
Swift
@IBInspectable var isHiddenWhenSkeletonIsActive: Bool { get set }
-
Undocumented
Declaration
Swift
@IBInspectable var isUserInteractionDisabledWhenSkeletonIsActive: Bool { get set }
-
Undocumented
Declaration
Swift
@IBInspectable var skeletonCornerRadius: Float { get set }