create a social calendar written in swift