Cannot call value of non-function type 'NSHTTPURLResponse?' Alamofire ObjectMapper

后端 未结 2 2019
隐瞒了意图╮
隐瞒了意图╮ 2021-01-18 00:25

Cannot call value of non-function type \'NSHTTPURLResponse?\'

Can someone please help me here?

Here is the code

   public func responseObjec         


        
2条回答
  •  说谎
    说谎 (楼主)
    2021-01-18 01:00

    You need to mark your completionHandler as @escaping.

提交回复
热议问题