Skip to content

Commit

Permalink
@discardableResult added to Custom (vikmeup#253)
Browse files Browse the repository at this point in the history
* @discardableResult added to Custom

* Update SCLAlertView.podspec

* Update SCLAlertView.podspec
  • Loading branch information
hslightnin authored and vikmeup committed Oct 26, 2016
1 parent 34f81c8 commit dba89ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SCLAlertView/SCLAlertView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ open class SCLAlertView: UIViewController {
}

// showCustom(view, title, subTitle, UIColor, UIImage)
@discardableResult
open func showCustom(_ title: String, subTitle: String, color: UIColor, icon: UIImage, closeButtonTitle:String?=nil, duration:TimeInterval=0.0, colorStyle: UInt=SCLAlertViewStyle.success.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder {


Expand Down

0 comments on commit dba89ea

Please sign in to comment.