constantine-fry / rebekka

Rebekka - FTP/FTPS client in Swift.
BSD 2-Clause "Simplified" License
87 stars 56 forks source link

Not Ready for IOS 10? #11

Open AfnanMirza1999 opened 8 years ago

AfnanMirza1999 commented 8 years ago

ok so i was trying to upgrade my app from ios 9.3 to ios 10 and the whole library was basically corrupted because the functions or methods used in the library were not available so is there a chance this will be upgraded? Thank You

pablomaurer commented 8 years ago

+1 :)

fishead1116 commented 8 years ago

i use xcode to convert code to Swift3.0 it works fine.

srolesen commented 8 years ago

yeah i'm kinda having the same issue :)

cilasgimenez commented 7 years ago

@fishead1116 ... How did you got it? I tried a hundred times and always i got stuck with errors. Could you provide your Rebekka's project folder, please?

Chefda commented 7 years ago

@fishead1116 I need Rebekka with Swift 3 compatible. Can you provide your folder, please?

fishead1116 commented 7 years ago

@Chefda @cilasgimenez https://github.com/fishead1116/rebekka this is my folder and i found someone already do it with additional Download Progress Methods https://github.com/fila95/rebekka

cilasgimenez commented 7 years ago

@fishead1116 Thanks man... I'm new using Git. Now i know what are the forks for :) Thanks again!

cilasgimenez commented 7 years ago

@fishead1116 ... I'm getting this warning while rebuilding: "Result of call of StreamEvent... is unsued" for each one of de cases in the switch below:

    switch eventCode {
    case Stream.Event.openCompleted:
        self.streamEventOpenComleted(aStream)
    case Stream.Event.hasBytesAvailable:
        self.streamEventHasBytes(aStream)
    case Stream.Event.hasSpaceAvailable:
        self.streamEventHasSpace(aStream)
    case Stream.Event.errorOccurred:
        self.streamEventError(aStream)
        self.finishOperation()
    case Stream.Event.endEncountered:
        self.streamEventEnd(aStream)
        self.finishOperation()
    default:
        print("Unkonwn NSStreamEvent: \(eventCode)")
    }

I found another code that is used:

     _ = self.streamEventOpenComleted(aStream)

instead of: self.streamEventOpenComleted(aStream)

Don't know if its the right solution. But the warning is gone.

amosavian commented 7 years ago

@AfnanMirza1999 you may find this project: https://github.com/amosavian/FileProvider