Toast-Swift
Toast-Swift copied to clipboard
Ambiguos reference makeToast
Ambiguous reference to member 'makeToast(message:)' this all candidates:
func makeToast(message msg: String) { makeToast(message: msg, duration: HRToastDefaultDuration, position: HRToastPositionDefault as AnyObject) }
func makeToast(message msg: String, duration: Double, position: AnyObject) {
let toast = self.viewForMessage(msg, title: nil, image: nil)
showToast(toast: toast!, duration: duration, position: position)
}
func makeToast(message msg: String, duration: Double, position: AnyObject, title: String) {
let toast = self.viewForMessage(msg, title: title, image: nil)
showToast(toast: toast!, duration: duration, position: position)
}
func makeToast(message msg: String, duration: Double, position: AnyObject, image: UIImage) {
let toast = self.viewForMessage(msg, title: nil, image: image)
showToast(toast: toast!, duration: duration, position: position)
}
func makeToast(message msg: String, duration: Double, position: AnyObject, title: String, image: UIImage) {
let toast = self.viewForMessage(msg, title: title, image: image)
showToast(toast: toast!, duration: duration, position: position)
}