FileBrowser icon indicating copy to clipboard operation
FileBrowser copied to clipboard

swift compiler error 'PreviewManager' swift 2.3

Open hulikp opened this issue 9 years ago • 10 comments

Hello

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

I have swift 2.3 and filebrowser (0.1.4)

hulikp avatar Oct 18 '16 11:10 hulikp

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'

hulikp avatar Oct 18 '16 11:10 hulikp

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

LieutenantKernel avatar Oct 18 '16 19:10 LieutenantKernel

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.

marmelroy avatar Oct 18 '16 19:10 marmelroy

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

StefanoD avatar Oct 20 '16 08:10 StefanoD

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 avatar Oct 20 '16 09:10 hulikp

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

hulikp avatar Oct 20 '16 11:10 hulikp

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

LieutenantKernel avatar Oct 20 '16 14:10 LieutenantKernel

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

StefanoD avatar Oct 21 '16 05:10 StefanoD

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

hulikp avatar Oct 21 '16 08:10 hulikp

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

yangkuku avatar Mar 22 '17 05:03 yangkuku