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
Post a Comment