swift highlighting & analytics