iOS cross layer with math