Closed multitudes closed 3 years ago
Hello, same problem for me :(
The UIKit
import seems missing.
Strange, It should be fixed by https://github.com/tungvoduc/DTPagerController/commit/522ce1089d13ff862c352f0d5ba2d1ae5a7b63a0
Ok, the last version of the library does not include this fix. We have to pick the master branch to SPM @multitudes.
Hello @tungvoduc, thanks for your library ! Is it possible to tag a new version with the SPM fix ? Thank you
@Ded77 Sorry for late reply. I'll get it done today.
@multitudes @Ded77 Should be fixed now guys!
Thank you!
Great, thank you!
import UIKit would fix it!
I removed the old version from the pod and installed DTPagerController with SPM. The code is the same strangely , but after installing it with Swift Package Manager it does not compile.
And of course it says it cannot find it in scope, maybe because UIViewController is UIKit after all ? ;)
Here is the code giving problems:
and the screenshot.
Too bad I would really like to use SPM but it will have to wait I guess?