Declaration

func zoom(byFactor factor: CGFloat)

Declaration

- (void) zoomViewByFactor:(CGFloat) factor;

Declaration

zoomViewByFactor_(factor: float)

Discussion

A factor of 2.0 will double the zoom scale, from 100% to 200% say, a factor of 0.5 will zoom out. This also maintains the current visible centre point of the view so the zoom remains stable.