Use float over CGFloat as progress type