rewrite fonticon for swift