Closed mitsus closed 9 years ago
Same problem for me!
I've same issue. Here's what I've did to fix those:
Coordinate struct needs a 'init()' in order to fix [CGFloat] is not convertible to Range. So you'll end up with:
public struct Coordinate {
init () {}
// public
public var labels: Labels = Labels()
public var grid: Grid = Grid()
public var axis: Axis = Axis()
// private
private var linear: LinearScale!
private var scale: ((CGFloat) -> CGFloat)!
private var invert: ((CGFloat) -> CGFloat)!
private var ticks: (CGFloat, CGFloat, CGFloat)!
}
'Set' error is easier: Change this:
override public func touchesEnded(touches: Set<NSObject>, withEvent event: UIEvent) {
With
override public func touchesEnded(touches: NSSet, withEvent event: UIEvent) {
just use latest xcode
Hi rakaramos, i've follow your instructions...now i've reduce errors to two. I work with Xcode 6.2 Please see:
Hi zemirco, please can you reopen this issue? Thanks and Regards
mitsus, Sorry, I've forgot to mention those last fixes. Just change it from:
count(data)
to:
data.count
Hi Zemirco, i've a problem when try to compile your sample. See my screen Shot