swift selector写法

  #selector(xiuGaiNote(_:))

 

    @objc func xiuGaiNote(_ note:Notification) -> Void {

        let dic = note.userInfo

        indexPath = dic!["indexPath"] as! IndexPath

        xiuGai()

        

    }

原文地址:https://www.cnblogs.com/dengchaojie/p/8066943.html