101 comments found.

kevingau

kevingau Purchased

Hi Author,

I use Xcode 8.2.1 *8C1002) and use your template to build my own app. When convert Swift to the current one, there are 2 Swift compiler errors in NetworkFetcher.swift:

open override func fetch(failure fail : @escaping ((NSError?) -> ()), success succeed : @escaping (T.Result) -> ()) { self.task = self.session.dataTask(with: self.URL, completionHandler: { (data: Data?, response:URLResponse?, error:NSError?) -> Void in self.onReceiveData( response: , error: , failure: fail, success: succeed) } as! (Data?, URLResponse?, Error?) -> Void)

Please advise me how to fix it.

Thanks

Hello,

There is no need to convert the code to the latest Swift Version. Please delete the modified project and open it from scratch and click on the Later button when you are asked for converting it. The current version of the Swift language is working fine and there is no urgent need to convert it.

Regards, dmbTEAM

kevingau

kevingau Purchased

Hi Author,

When this template is planned to support Swift3?

Thanks

Hello,

When there is no backward compatibility we will migrate it. Honestly, would you please share with us why you insist on Swift 3.0 and do you see any problems in that?

Regards, dmbTEAM

by
by
by
by
by
by