Haneke / HanekeSwift

A lightweight generic cache for iOS written in Swift with extra love for images.
Apache License 2.0
5.2k stars 591 forks source link

Swift 3 compatibility - Swift Compiler error Xcode 8.3.2 #402

Closed cristinaITdeveloper closed 6 years ago

cristinaITdeveloper commented 7 years ago

I added the library with pod, but Xcode reports many errors.

schermata 2017-05-21 alle 22 44 30
vikash1307 commented 7 years ago

Tried to download the source file and replace these files and it will work . I think some problem with cocoa pod link.

strawberrycode commented 7 years ago

+1

EdenShapiro commented 7 years ago

You also need to use import Haneke instead of import HanekeSwift at the top of your files

cristinaITdeveloper commented 6 years ago

I still have the same problem with Swift 3 and I have to import it like this pod 'HanekeSwift', :git => 'https://github.com/Haneke/HanekeSwift', :branch => 'feature/swift-3' as jdam68 wrote.

dcharbonnier commented 6 years ago

the @jdam68 solution should work