recruit-mtl / Graphs

Light weight charts view generater for iOS. Written in Swift.
MIT License
977 stars 63 forks source link

Swift3.0 support #6

Open iceman201 opened 8 years ago

iceman201 commented 8 years ago
        func convert<S: NumericType>(_ s: S, arr: [S], f: (S) -> S) -> [S] {
            switch arr.match {
            case let .some(h, t):   return [f(h) + s] as! [] + convert(h + s, arr:t, f: f)
            case .none:             return []
            }
        }

I dont know how to re-write this part in swift 3

Leinadzet commented 7 years ago

+1 for Swift 3 Support

BackWorld commented 7 years ago

+1 for Swift 3 Support

lfarah commented 7 years ago

please!

iceman201 commented 7 years ago

Such good framework please update to swift 3.0!!! PLZ @ohida @emeitch @remore @kasajei

AustinVaday commented 7 years ago

Please!