I'm trying to initialize var altitude.
init(altitude: CLLocationDistance)
{
self.altitude = altitude
super.init(nibName: nil, bundle: nil)
}
required init?(coder aDecoder: NSCoder)
{
super.init(coder: aDecoder)
}
But it gives me an error: Property 'self.altitude' not initialized at super.init call
Thanks