ContentStateMessagingView
protocol ContentStateMessagingView : UIView, ContentStateMessaging
UIViews display a text string in their background view
-
Holder of content state message
Declaration
Swift
var backgroundView: UIView? { get set } -
messageViewExtension methodCurrently displayed message view if any
Declaration
Swift
var messageView: UIView? { get } -
set(message:color:)Extension methodSet a content state message
Declaration
Swift
func set(message state: ContentState, color: UIColor = .white)Parameters
stateContentState
colorColor suggestion
-
set(message:color:)Extension methodSet a message
Declaration
Swift
func set(message: String, color: UIColor)Parameters
messageString
colorColor
View on GitHub
ContentStateMessagingView Protocol Reference