marmelroy / FileBrowser

Finder-style iOS file browser written in Swift
MIT License
1.51k stars 221 forks source link

swift compiler error 'PreviewManager' swift 2.3 #22

Open hulikp opened 7 years ago

hulikp commented 7 years ago

Hello

I am getting this error use of unresolved identifier 'PreviewManager'.

I have swift 2.3 and filebrowser (0.1.4)

hulikp commented 7 years ago

i upgrade to 0.2.0 but got many more errors so i cam back to 0.1.4 and now i have: Type of 'previewItemURL' has different optionality than required by protocol 'QLpreviewItem'

LieutenantKernel commented 7 years ago

Yeah I got a total of 79 errors ever since the new swift changes came out. I think this app is a dud until it's fixed

marmelroy commented 7 years ago

Hi @hulikp and @giacDaddy, sorry to hear about your issues but FileBrowser currently only supports Swift 3.0 (released over a month ago).

If you are having issues using with Swift 3.0 please let me know.

StefanoD commented 7 years ago

Why was there only a Swift 2.2 release, but no Swift 2.3 release?!

hulikp commented 7 years ago

Thank you @marmelroy for your answer that was i thought, @StefanoD there was a 2.3 that was the current version but now it's upgrade to swift 3.

hulikp commented 7 years ago

@giacDaddy @StefanoD I found a fork for swift 2.3 works fine from nuglif

LieutenantKernel commented 7 years ago

@hulikp can you link to the fork or briefly demonstrate how you got it to work? Thanks

StefanoD commented 7 years ago

@hulikp : Yes, a link to the fork would be cool.

hulikp commented 7 years ago

You should addd this to your Podfile @giacDaddy @StefanoD pod 'FileBrowser', :git => 'https://github.com/Nuglif/FileBrowser.git', :branch => 'swift2.3'

yangkuku commented 7 years ago

@hulikp thank you, I'm looking for this!