BannerView
public final class BannerView : UIView, BannerViewProtocol
Undocumented
-
Undocumented
Declaration
Swift
public static func make() -> BannerView -
Undocumented
Declaration
Swift
public private(set) lazy var textLabel: UILabel { get set } -
Declaration
Swift
public func addTap(_ action: @escaping Completion) -
Declaration
Swift
public func removeTap()
-
Present the banner view in a view controller.
Declaration
Swift
@discardableResult public func show(_ text: String, in viewController: UIViewController) -> BannerViewParameters
viewControllera view controller where needs to present the banner.
-
Hide the banner.
Declaration
Swift
public func hide()Parameters
animatedhide.
-
Declaration
Swift
public func hide(after timeInterval: DispatchTimeInterval, _ completion: Completion? = nil)
View on GitHub
BannerView Class Reference