swift support for glance