objective c - How to call this method in swift 3.0? -


here have objective - c method:

+(void)postsavecoinorder:(ordersavecoinorderrequestmodel *)model returninfo:(void(^)(ordersavecoinorderresponsemodel* resmodel))retmode;  

and want call in swift file. tried many times don't work.

can me?

try this...

let request = ordersavecoinorderrequestmodel.init() class_name.postsavecoinorder(request) { (response) in  } 

class_name name of class postsavecoinorder defined.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -