i updated xcode version 8.3 , on reopening project started receiving following errors.
ambiguous reference member '-'
let frame = (frame: cgrect(x: 80.0, y: 140.0, width: ((self.view.bounds.size.width - 160.0)), height: 40))
ambiguous reference member 'frame'
let frame2 = (frame: cgrect(x: 80.0, y: self.loginbutton.frame.maxy + 40.0, width: (self.view.bounds.size.width - 160.0), height: 40))
what frame:
?
just do:
let frame = cgrect(x: 80.0, y: 140.0, width: self.view.bounds.size.width - 160.0, height: 40)
and:
let frame2 = cgrect(x: 80.0, y: self.loginbutton.frame.maxy + 40.0, width: self.view.bounds.size.width - 160.0, height: 40)
Comments
Post a Comment