A simple 1D and 2D code scanner using native iOS API.