added method in protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
15f7c1d586
commit
714374c798
@ -8,7 +8,9 @@
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
public protocol TooltipLaunchable { }
|
||||
public protocol TooltipLaunchable {
|
||||
func presentTooltip(surface: Surface, title: String, content: String, closeButtonText: String)
|
||||
}
|
||||
|
||||
extension TooltipLaunchable {
|
||||
public func presentTooltip(surface: Surface, title: String, content: String, closeButtonText: String = "Close") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user