Obj-C/Swift framework for visual psychophysics and color science