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
colorThe color of the skeleton. Default value is
quaternaryFill. -
Hide the skeleton.
Declaration
Swift
public func hideSkeleton(transition: SkeletonTransitionStyle = .none)Parameters
transitionThe 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
FioriStylearray. Setting this property converts the value to aStringwith “:” as separator, and the convertedStringvalue 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 }