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) -> BannerView
Parameters
viewController
a view controller where needs to present the banner.
-
Hide the banner.
Declaration
Swift
public func hide()
Parameters
animated
hide.
-
Declaration
Swift
public func hide(after timeInterval: DispatchTimeInterval, _ completion: Completion? = nil)