javalnanda / JNDropDownMenu

Swift version of https://github.com/dopcn/DOPDropDownMenu
MIT License
64 stars 8 forks source link

compile errors under swift 4.1 when included with pod #13

Open junlianglincanada opened 6 years ago

junlianglincanada commented 6 years ago

if the swift version is 4.1, when included this with pod,it will need to change func menuTapped to @objc func menuTapped,
change func backgroundTapped to @objc func backgroundTapped, change NSFontAttributeName to NSAttributedStringKey.font in func calculateTitleSizeWith