iOS examples in swift