Convert AnnotationLifeCycle to swift